@medialane/sdk 0.51.0 → 0.53.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
@@ -34,14 +34,18 @@ interface ChainCoordinates {
34
34
  creatorCoinStartBlock?: number;
35
35
  ekuboCore?: `0x${string}`;
36
36
  ipTicketsFactory?: `0x${string}`;
37
+ ipTicketsFactoryClassHash?: `0x${string}`;
37
38
  ipTicketCollectionClassHash?: `0x${string}`;
38
39
  ipTicketsStartBlock?: number;
39
40
  ipClubRegistry?: `0x${string}`;
41
+ ipClubRegistryClassHash?: `0x${string}`;
40
42
  ipClubNftClassHash?: `0x${string}`;
41
43
  ipClubStartBlock?: number;
42
44
  ipSponsorship?: `0x${string}`;
45
+ ipSponsorshipClassHash?: `0x${string}`;
43
46
  ipSponsorshipStartBlock?: number;
44
47
  ipSponsorshipLicense?: `0x${string}`;
48
+ ipSponsorshipLicenseClassHash?: `0x${string}`;
45
49
  }
46
50
  declare function getCoordinates(chain: Chain): ChainCoordinates;
47
51
  declare const DEFAULT_CHAIN: Chain;
@@ -6249,6 +6253,9 @@ declare const IPTicketCollectionABI: readonly [{
6249
6253
  readonly inputs: readonly [{
6250
6254
  readonly name: "collection_id";
6251
6255
  readonly type: "core::integer::u256";
6256
+ }, {
6257
+ readonly name: "recipient";
6258
+ readonly type: "core::starknet::contract_address::ContractAddress";
6252
6259
  }];
6253
6260
  readonly outputs: readonly [{
6254
6261
  readonly type: "core::integer::u256";
@@ -6334,12 +6341,20 @@ declare const IPTicketCollectionABI: readonly [{
6334
6341
  readonly state_mutability: "view";
6335
6342
  }, {
6336
6343
  readonly type: "function";
6337
- readonly name: "total_supply";
6344
+ readonly name: "total_minted";
6338
6345
  readonly inputs: readonly [];
6339
6346
  readonly outputs: readonly [{
6340
6347
  readonly type: "core::integer::u256";
6341
6348
  }];
6342
6349
  readonly state_mutability: "view";
6350
+ }, {
6351
+ readonly type: "function";
6352
+ readonly name: "version";
6353
+ readonly inputs: readonly [];
6354
+ readonly outputs: readonly [{
6355
+ readonly type: "core::byte_array::ByteArray";
6356
+ }];
6357
+ readonly state_mutability: "view";
6343
6358
  }, {
6344
6359
  readonly type: "function";
6345
6360
  readonly name: "royalty_info";
@@ -6852,6 +6867,10 @@ declare const IPTicketCollectionABI: readonly [{
6852
6867
  readonly name: "owner";
6853
6868
  readonly type: "core::starknet::contract_address::ContractAddress";
6854
6869
  readonly kind: "key";
6870
+ }, {
6871
+ readonly name: "payer";
6872
+ readonly type: "core::starknet::contract_address::ContractAddress";
6873
+ readonly kind: "data";
6855
6874
  }, {
6856
6875
  readonly name: "minted_at";
6857
6876
  readonly type: "core::integer::u64";
@@ -6964,6 +6983,35 @@ declare const IPTicketCollectionFactoryABI: readonly [{
6964
6983
  }];
6965
6984
  readonly state_mutability: "external";
6966
6985
  }];
6986
+ }, {
6987
+ readonly type: "impl";
6988
+ readonly name: "SRC5Impl";
6989
+ readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
6990
+ }, {
6991
+ readonly type: "enum";
6992
+ readonly name: "core::bool";
6993
+ readonly variants: readonly [{
6994
+ readonly name: "False";
6995
+ readonly type: "()";
6996
+ }, {
6997
+ readonly name: "True";
6998
+ readonly type: "()";
6999
+ }];
7000
+ }, {
7001
+ readonly type: "interface";
7002
+ readonly name: "openzeppelin_introspection::interface::ISRC5";
7003
+ readonly items: readonly [{
7004
+ readonly type: "function";
7005
+ readonly name: "supports_interface";
7006
+ readonly inputs: readonly [{
7007
+ readonly name: "interface_id";
7008
+ readonly type: "core::felt252";
7009
+ }];
7010
+ readonly outputs: readonly [{
7011
+ readonly type: "core::bool";
7012
+ }];
7013
+ readonly state_mutability: "view";
7014
+ }];
6967
7015
  }, {
6968
7016
  readonly type: "constructor";
6969
7017
  readonly name: "constructor";
@@ -6971,6 +7019,11 @@ declare const IPTicketCollectionFactoryABI: readonly [{
6971
7019
  readonly name: "collection_class_hash";
6972
7020
  readonly type: "core::starknet::class_hash::ClassHash";
6973
7021
  }];
7022
+ }, {
7023
+ readonly type: "event";
7024
+ readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
7025
+ readonly kind: "enum";
7026
+ readonly variants: readonly [];
6974
7027
  }, {
6975
7028
  readonly type: "event";
6976
7029
  readonly name: "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::CollectionDeployed";
@@ -6997,6 +7050,10 @@ declare const IPTicketCollectionFactoryABI: readonly [{
6997
7050
  readonly name: "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::Event";
6998
7051
  readonly kind: "enum";
6999
7052
  readonly variants: readonly [{
7053
+ readonly name: "SRC5Event";
7054
+ readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
7055
+ readonly kind: "flat";
7056
+ }, {
7000
7057
  readonly name: "CollectionDeployed";
7001
7058
  readonly type: "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::CollectionDeployed";
7002
7059
  readonly kind: "nested";
@@ -7060,6 +7117,16 @@ declare const IPClubABI: readonly [{
7060
7117
  readonly name: "None";
7061
7118
  readonly type: "()";
7062
7119
  }];
7120
+ }, {
7121
+ readonly type: "enum";
7122
+ readonly name: "core::option::Option::<core::integer::u64>";
7123
+ readonly variants: readonly [{
7124
+ readonly name: "Some";
7125
+ readonly type: "core::integer::u64";
7126
+ }, {
7127
+ readonly name: "None";
7128
+ readonly type: "()";
7129
+ }];
7063
7130
  }, {
7064
7131
  readonly type: "enum";
7065
7132
  readonly name: "core::bool";
@@ -7094,6 +7161,12 @@ declare const IPClubABI: readonly [{
7094
7161
  }, {
7095
7162
  readonly name: "payment_token";
7096
7163
  readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7164
+ }, {
7165
+ readonly name: "transfer_lock";
7166
+ readonly type: "core::option::Option::<core::integer::u64>";
7167
+ }, {
7168
+ readonly name: "royalty_bps";
7169
+ readonly type: "core::integer::u256";
7097
7170
  }];
7098
7171
  }, {
7099
7172
  readonly type: "interface";
@@ -7119,6 +7192,12 @@ declare const IPClubABI: readonly [{
7119
7192
  }, {
7120
7193
  readonly name: "payment_token";
7121
7194
  readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7195
+ }, {
7196
+ readonly name: "transfer_lock";
7197
+ readonly type: "core::option::Option::<core::integer::u64>";
7198
+ }, {
7199
+ readonly name: "royalty_bps";
7200
+ readonly type: "core::integer::u256";
7122
7201
  }];
7123
7202
  readonly outputs: readonly [{
7124
7203
  readonly type: "core::integer::u256";
@@ -7190,6 +7269,14 @@ declare const IPClubABI: readonly [{
7190
7269
  readonly type: "core::integer::u256";
7191
7270
  }];
7192
7271
  readonly state_mutability: "view";
7272
+ }, {
7273
+ readonly type: "function";
7274
+ readonly name: "version";
7275
+ readonly inputs: readonly [];
7276
+ readonly outputs: readonly [{
7277
+ readonly type: "core::byte_array::ByteArray";
7278
+ }];
7279
+ readonly state_mutability: "view";
7193
7280
  }];
7194
7281
  }, {
7195
7282
  readonly type: "impl";
@@ -7242,6 +7329,14 @@ declare const IPClubABI: readonly [{
7242
7329
  readonly name: "metadata_uri";
7243
7330
  readonly type: "core::byte_array::ByteArray";
7244
7331
  readonly kind: "data";
7332
+ }, {
7333
+ readonly name: "transfer_lock";
7334
+ readonly type: "core::option::Option::<core::integer::u64>";
7335
+ readonly kind: "data";
7336
+ }, {
7337
+ readonly name: "royalty_bps";
7338
+ readonly type: "core::integer::u256";
7339
+ readonly kind: "data";
7245
7340
  }, {
7246
7341
  readonly name: "timestamp";
7247
7342
  readonly type: "core::integer::u64";
@@ -7327,8 +7422,21 @@ declare const IPClubABI: readonly [{
7327
7422
 
7328
7423
  declare const IPClubNFTABI: readonly [{
7329
7424
  readonly type: "impl";
7330
- readonly name: "IIPClubNFTImpl";
7331
- readonly interface_name: "ip_club::interfaces::IIPClubNFT::IIPClubNFT";
7425
+ readonly name: "ERC721MetadataImpl";
7426
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721Metadata";
7427
+ }, {
7428
+ readonly type: "struct";
7429
+ readonly name: "core::byte_array::ByteArray";
7430
+ readonly members: readonly [{
7431
+ readonly name: "data";
7432
+ readonly type: "core::array::Array::<core::bytes_31::bytes31>";
7433
+ }, {
7434
+ readonly name: "pending_word";
7435
+ readonly type: "core::felt252";
7436
+ }, {
7437
+ readonly name: "pending_word_len";
7438
+ readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
7439
+ }];
7332
7440
  }, {
7333
7441
  readonly type: "struct";
7334
7442
  readonly name: "core::integer::u256";
@@ -7339,6 +7447,60 @@ declare const IPClubNFTABI: readonly [{
7339
7447
  readonly name: "high";
7340
7448
  readonly type: "core::integer::u128";
7341
7449
  }];
7450
+ }, {
7451
+ readonly type: "interface";
7452
+ readonly name: "openzeppelin_token::erc721::interface::IERC721Metadata";
7453
+ readonly items: readonly [{
7454
+ readonly type: "function";
7455
+ readonly name: "name";
7456
+ readonly inputs: readonly [];
7457
+ readonly outputs: readonly [{
7458
+ readonly type: "core::byte_array::ByteArray";
7459
+ }];
7460
+ readonly state_mutability: "view";
7461
+ }, {
7462
+ readonly type: "function";
7463
+ readonly name: "symbol";
7464
+ readonly inputs: readonly [];
7465
+ readonly outputs: readonly [{
7466
+ readonly type: "core::byte_array::ByteArray";
7467
+ }];
7468
+ readonly state_mutability: "view";
7469
+ }, {
7470
+ readonly type: "function";
7471
+ readonly name: "token_uri";
7472
+ readonly inputs: readonly [{
7473
+ readonly name: "token_id";
7474
+ readonly type: "core::integer::u256";
7475
+ }];
7476
+ readonly outputs: readonly [{
7477
+ readonly type: "core::byte_array::ByteArray";
7478
+ }];
7479
+ readonly state_mutability: "view";
7480
+ }];
7481
+ }, {
7482
+ readonly type: "impl";
7483
+ readonly name: "ERC721MetadataCamelOnlyImpl";
7484
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
7485
+ }, {
7486
+ readonly type: "interface";
7487
+ readonly name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
7488
+ readonly items: readonly [{
7489
+ readonly type: "function";
7490
+ readonly name: "tokenURI";
7491
+ readonly inputs: readonly [{
7492
+ readonly name: "tokenId";
7493
+ readonly type: "core::integer::u256";
7494
+ }];
7495
+ readonly outputs: readonly [{
7496
+ readonly type: "core::byte_array::ByteArray";
7497
+ }];
7498
+ readonly state_mutability: "view";
7499
+ }];
7500
+ }, {
7501
+ readonly type: "impl";
7502
+ readonly name: "IIPClubNFTImpl";
7503
+ readonly interface_name: "ip_club::interfaces::IIPClubNFT::IIPClubNFT";
7342
7504
  }, {
7343
7505
  readonly type: "enum";
7344
7506
  readonly name: "core::bool";
@@ -7416,11 +7578,47 @@ declare const IPClubNFTABI: readonly [{
7416
7578
  readonly type: "core::integer::u256";
7417
7579
  }];
7418
7580
  readonly state_mutability: "view";
7581
+ }, {
7582
+ readonly type: "function";
7583
+ readonly name: "royalty_info";
7584
+ readonly inputs: readonly [{
7585
+ readonly name: "token_id";
7586
+ readonly type: "core::integer::u256";
7587
+ }, {
7588
+ readonly name: "sale_price";
7589
+ readonly type: "core::integer::u256";
7590
+ }];
7591
+ readonly outputs: readonly [{
7592
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
7593
+ }];
7594
+ readonly state_mutability: "view";
7595
+ }, {
7596
+ readonly type: "function";
7597
+ readonly name: "royaltyInfo";
7598
+ readonly inputs: readonly [{
7599
+ readonly name: "token_id";
7600
+ readonly type: "core::integer::u256";
7601
+ }, {
7602
+ readonly name: "sale_price";
7603
+ readonly type: "core::integer::u256";
7604
+ }];
7605
+ readonly outputs: readonly [{
7606
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
7607
+ }];
7608
+ readonly state_mutability: "view";
7609
+ }, {
7610
+ readonly type: "function";
7611
+ readonly name: "version";
7612
+ readonly inputs: readonly [];
7613
+ readonly outputs: readonly [{
7614
+ readonly type: "core::byte_array::ByteArray";
7615
+ }];
7616
+ readonly state_mutability: "view";
7419
7617
  }];
7420
7618
  }, {
7421
7619
  readonly type: "impl";
7422
- readonly name: "ERC721MixinImpl";
7423
- readonly interface_name: "openzeppelin_token::erc721::interface::ERC721ABI";
7620
+ readonly name: "ERC721Impl";
7621
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721";
7424
7622
  }, {
7425
7623
  readonly type: "struct";
7426
7624
  readonly name: "core::array::Span::<core::felt252>";
@@ -7428,22 +7626,9 @@ declare const IPClubNFTABI: readonly [{
7428
7626
  readonly name: "snapshot";
7429
7627
  readonly type: "@core::array::Array::<core::felt252>";
7430
7628
  }];
7431
- }, {
7432
- readonly type: "struct";
7433
- readonly name: "core::byte_array::ByteArray";
7434
- readonly members: readonly [{
7435
- readonly name: "data";
7436
- readonly type: "core::array::Array::<core::bytes_31::bytes31>";
7437
- }, {
7438
- readonly name: "pending_word";
7439
- readonly type: "core::felt252";
7440
- }, {
7441
- readonly name: "pending_word_len";
7442
- readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
7443
- }];
7444
7629
  }, {
7445
7630
  readonly type: "interface";
7446
- readonly name: "openzeppelin_token::erc721::interface::ERC721ABI";
7631
+ readonly name: "openzeppelin_token::erc721::interface::IERC721";
7447
7632
  readonly items: readonly [{
7448
7633
  readonly type: "function";
7449
7634
  readonly name: "balance_of";
@@ -7548,71 +7733,41 @@ declare const IPClubNFTABI: readonly [{
7548
7733
  readonly type: "core::bool";
7549
7734
  }];
7550
7735
  readonly state_mutability: "view";
7551
- }, {
7736
+ }];
7737
+ }, {
7738
+ readonly type: "impl";
7739
+ readonly name: "ERC721CamelOnly";
7740
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
7741
+ }, {
7742
+ readonly type: "interface";
7743
+ readonly name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
7744
+ readonly items: readonly [{
7552
7745
  readonly type: "function";
7553
- readonly name: "supports_interface";
7746
+ readonly name: "balanceOf";
7554
7747
  readonly inputs: readonly [{
7555
- readonly name: "interface_id";
7556
- readonly type: "core::felt252";
7557
- }];
7558
- readonly outputs: readonly [{
7559
- readonly type: "core::bool";
7560
- }];
7561
- readonly state_mutability: "view";
7562
- }, {
7563
- readonly type: "function";
7564
- readonly name: "name";
7565
- readonly inputs: readonly [];
7566
- readonly outputs: readonly [{
7567
- readonly type: "core::byte_array::ByteArray";
7748
+ readonly name: "account";
7749
+ readonly type: "core::starknet::contract_address::ContractAddress";
7568
7750
  }];
7569
- readonly state_mutability: "view";
7570
- }, {
7571
- readonly type: "function";
7572
- readonly name: "symbol";
7573
- readonly inputs: readonly [];
7574
7751
  readonly outputs: readonly [{
7575
- readonly type: "core::byte_array::ByteArray";
7752
+ readonly type: "core::integer::u256";
7576
7753
  }];
7577
7754
  readonly state_mutability: "view";
7578
7755
  }, {
7579
7756
  readonly type: "function";
7580
- readonly name: "token_uri";
7757
+ readonly name: "ownerOf";
7581
7758
  readonly inputs: readonly [{
7582
- readonly name: "token_id";
7759
+ readonly name: "tokenId";
7583
7760
  readonly type: "core::integer::u256";
7584
7761
  }];
7585
7762
  readonly outputs: readonly [{
7586
- readonly type: "core::byte_array::ByteArray";
7763
+ readonly type: "core::starknet::contract_address::ContractAddress";
7587
7764
  }];
7588
7765
  readonly state_mutability: "view";
7589
7766
  }, {
7590
7767
  readonly type: "function";
7591
- readonly name: "balanceOf";
7768
+ readonly name: "safeTransferFrom";
7592
7769
  readonly inputs: readonly [{
7593
- readonly name: "account";
7594
- readonly type: "core::starknet::contract_address::ContractAddress";
7595
- }];
7596
- readonly outputs: readonly [{
7597
- readonly type: "core::integer::u256";
7598
- }];
7599
- readonly state_mutability: "view";
7600
- }, {
7601
- readonly type: "function";
7602
- readonly name: "ownerOf";
7603
- readonly inputs: readonly [{
7604
- readonly name: "tokenId";
7605
- readonly type: "core::integer::u256";
7606
- }];
7607
- readonly outputs: readonly [{
7608
- readonly type: "core::starknet::contract_address::ContractAddress";
7609
- }];
7610
- readonly state_mutability: "view";
7611
- }, {
7612
- readonly type: "function";
7613
- readonly name: "safeTransferFrom";
7614
- readonly inputs: readonly [{
7615
- readonly name: "from";
7770
+ readonly name: "from";
7616
7771
  readonly type: "core::starknet::contract_address::ContractAddress";
7617
7772
  }, {
7618
7773
  readonly name: "to";
@@ -7678,18 +7833,36 @@ declare const IPClubNFTABI: readonly [{
7678
7833
  readonly type: "core::bool";
7679
7834
  }];
7680
7835
  readonly state_mutability: "view";
7681
- }, {
7836
+ }];
7837
+ }, {
7838
+ readonly type: "impl";
7839
+ readonly name: "SRC5Impl";
7840
+ readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
7841
+ }, {
7842
+ readonly type: "interface";
7843
+ readonly name: "openzeppelin_introspection::interface::ISRC5";
7844
+ readonly items: readonly [{
7682
7845
  readonly type: "function";
7683
- readonly name: "tokenURI";
7846
+ readonly name: "supports_interface";
7684
7847
  readonly inputs: readonly [{
7685
- readonly name: "tokenId";
7686
- readonly type: "core::integer::u256";
7848
+ readonly name: "interface_id";
7849
+ readonly type: "core::felt252";
7687
7850
  }];
7688
7851
  readonly outputs: readonly [{
7689
- readonly type: "core::byte_array::ByteArray";
7852
+ readonly type: "core::bool";
7690
7853
  }];
7691
7854
  readonly state_mutability: "view";
7692
7855
  }];
7856
+ }, {
7857
+ readonly type: "enum";
7858
+ readonly name: "core::option::Option::<core::integer::u64>";
7859
+ readonly variants: readonly [{
7860
+ readonly name: "Some";
7861
+ readonly type: "core::integer::u64";
7862
+ }, {
7863
+ readonly name: "None";
7864
+ readonly type: "()";
7865
+ }];
7693
7866
  }, {
7694
7867
  readonly type: "constructor";
7695
7868
  readonly name: "constructor";
@@ -7711,6 +7884,12 @@ declare const IPClubNFTABI: readonly [{
7711
7884
  }, {
7712
7885
  readonly name: "metadata_uri";
7713
7886
  readonly type: "core::byte_array::ByteArray";
7887
+ }, {
7888
+ readonly name: "transfer_lock";
7889
+ readonly type: "core::option::Option::<core::integer::u64>";
7890
+ }, {
7891
+ readonly name: "royalty_bps";
7892
+ readonly type: "core::integer::u256";
7714
7893
  }];
7715
7894
  }, {
7716
7895
  readonly type: "event";
@@ -7880,24 +8059,21 @@ declare const IPSponsorshipABI: readonly [{
7880
8059
  }, {
7881
8060
  readonly name: "open";
7882
8061
  readonly type: "core::bool";
8062
+ }, {
8063
+ readonly name: "royalty_bps";
8064
+ readonly type: "core::integer::u256";
7883
8065
  }];
7884
8066
  }, {
7885
8067
  readonly type: "struct";
7886
- readonly name: "ip_sponsorship::types::License";
8068
+ readonly name: "ip_sponsorship::types::LicenseData";
7887
8069
  readonly members: readonly [{
7888
8070
  readonly name: "author";
7889
8071
  readonly type: "core::starknet::contract_address::ContractAddress";
7890
8072
  }, {
7891
- readonly name: "sponsor";
7892
- readonly type: "core::starknet::contract_address::ContractAddress";
7893
- }, {
7894
- readonly name: "nft_contract";
8073
+ readonly name: "asset_contract";
7895
8074
  readonly type: "core::starknet::contract_address::ContractAddress";
7896
8075
  }, {
7897
- readonly name: "token_id";
7898
- readonly type: "core::integer::u256";
7899
- }, {
7900
- readonly name: "amount_paid";
8076
+ readonly name: "asset_token_id";
7901
8077
  readonly type: "core::integer::u256";
7902
8078
  }, {
7903
8079
  readonly name: "expires_at";
@@ -7905,6 +8081,9 @@ declare const IPSponsorshipABI: readonly [{
7905
8081
  }, {
7906
8082
  readonly name: "transferable";
7907
8083
  readonly type: "core::bool";
8084
+ }, {
8085
+ readonly name: "royalty_bps";
8086
+ readonly type: "core::integer::u256";
7908
8087
  }, {
7909
8088
  readonly name: "license_terms_uri";
7910
8089
  readonly type: "core::byte_array::ByteArray";
@@ -7936,6 +8115,9 @@ declare const IPSponsorshipABI: readonly [{
7936
8115
  }, {
7937
8116
  readonly name: "transferable";
7938
8117
  readonly type: "core::bool";
8118
+ }, {
8119
+ readonly name: "royalty_bps";
8120
+ readonly type: "core::integer::u256";
7939
8121
  }, {
7940
8122
  readonly name: "specific_sponsor";
7941
8123
  readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
@@ -7991,18 +8173,6 @@ declare const IPSponsorshipABI: readonly [{
7991
8173
  readonly type: "core::integer::u256";
7992
8174
  }];
7993
8175
  readonly state_mutability: "external";
7994
- }, {
7995
- readonly type: "function";
7996
- readonly name: "transfer_license";
7997
- readonly inputs: readonly [{
7998
- readonly name: "license_id";
7999
- readonly type: "core::integer::u256";
8000
- }, {
8001
- readonly name: "to";
8002
- readonly type: "core::starknet::contract_address::ContractAddress";
8003
- }];
8004
- readonly outputs: readonly [];
8005
- readonly state_mutability: "external";
8006
8176
  }, {
8007
8177
  readonly type: "function";
8008
8178
  readonly name: "get_offer";
@@ -8036,7 +8206,7 @@ declare const IPSponsorshipABI: readonly [{
8036
8206
  readonly type: "core::integer::u256";
8037
8207
  }];
8038
8208
  readonly outputs: readonly [{
8039
- readonly type: "ip_sponsorship::types::License";
8209
+ readonly type: "ip_sponsorship::types::LicenseData";
8040
8210
  }];
8041
8211
  readonly state_mutability: "view";
8042
8212
  }, {
@@ -8066,6 +8236,22 @@ declare const IPSponsorshipABI: readonly [{
8066
8236
  readonly type: "core::integer::u256";
8067
8237
  }];
8068
8238
  readonly state_mutability: "view";
8239
+ }, {
8240
+ readonly type: "function";
8241
+ readonly name: "get_license_contract";
8242
+ readonly inputs: readonly [];
8243
+ readonly outputs: readonly [{
8244
+ readonly type: "core::starknet::contract_address::ContractAddress";
8245
+ }];
8246
+ readonly state_mutability: "view";
8247
+ }, {
8248
+ readonly type: "function";
8249
+ readonly name: "version";
8250
+ readonly inputs: readonly [];
8251
+ readonly outputs: readonly [{
8252
+ readonly type: "core::byte_array::ByteArray";
8253
+ }];
8254
+ readonly state_mutability: "view";
8069
8255
  }];
8070
8256
  }, {
8071
8257
  readonly type: "impl";
@@ -8089,7 +8275,10 @@ declare const IPSponsorshipABI: readonly [{
8089
8275
  }, {
8090
8276
  readonly type: "constructor";
8091
8277
  readonly name: "constructor";
8092
- readonly inputs: readonly [];
8278
+ readonly inputs: readonly [{
8279
+ readonly name: "license_contract";
8280
+ readonly type: "core::starknet::contract_address::ContractAddress";
8281
+ }];
8093
8282
  }, {
8094
8283
  readonly type: "event";
8095
8284
  readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
@@ -8135,6 +8324,10 @@ declare const IPSponsorshipABI: readonly [{
8135
8324
  readonly name: "transferable";
8136
8325
  readonly type: "core::bool";
8137
8326
  readonly kind: "data";
8327
+ }, {
8328
+ readonly name: "royalty_bps";
8329
+ readonly type: "core::integer::u256";
8330
+ readonly kind: "data";
8138
8331
  }, {
8139
8332
  readonly name: "specific_sponsor";
8140
8333
  readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
@@ -8228,27 +8421,6 @@ declare const IPSponsorshipABI: readonly [{
8228
8421
  readonly type: "core::integer::u64";
8229
8422
  readonly kind: "data";
8230
8423
  }];
8231
- }, {
8232
- readonly type: "event";
8233
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred";
8234
- readonly kind: "struct";
8235
- readonly members: readonly [{
8236
- readonly name: "license_id";
8237
- readonly type: "core::integer::u256";
8238
- readonly kind: "key";
8239
- }, {
8240
- readonly name: "from";
8241
- readonly type: "core::starknet::contract_address::ContractAddress";
8242
- readonly kind: "key";
8243
- }, {
8244
- readonly name: "to";
8245
- readonly type: "core::starknet::contract_address::ContractAddress";
8246
- readonly kind: "key";
8247
- }, {
8248
- readonly name: "transferred_at";
8249
- readonly type: "core::integer::u64";
8250
- readonly kind: "data";
8251
- }];
8252
8424
  }, {
8253
8425
  readonly type: "event";
8254
8426
  readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::Event";
@@ -8277,9 +8449,607 @@ declare const IPSponsorshipABI: readonly [{
8277
8449
  readonly name: "SponsorshipAccepted";
8278
8450
  readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
8279
8451
  readonly kind: "nested";
8452
+ }];
8453
+ }];
8454
+
8455
+ declare const IPSponsorshipLicenseABI: readonly [{
8456
+ readonly type: "impl";
8457
+ readonly name: "ERC721MetadataImpl";
8458
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721Metadata";
8459
+ }, {
8460
+ readonly type: "struct";
8461
+ readonly name: "core::byte_array::ByteArray";
8462
+ readonly members: readonly [{
8463
+ readonly name: "data";
8464
+ readonly type: "core::array::Array::<core::bytes_31::bytes31>";
8465
+ }, {
8466
+ readonly name: "pending_word";
8467
+ readonly type: "core::felt252";
8468
+ }, {
8469
+ readonly name: "pending_word_len";
8470
+ readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
8471
+ }];
8472
+ }, {
8473
+ readonly type: "struct";
8474
+ readonly name: "core::integer::u256";
8475
+ readonly members: readonly [{
8476
+ readonly name: "low";
8477
+ readonly type: "core::integer::u128";
8478
+ }, {
8479
+ readonly name: "high";
8480
+ readonly type: "core::integer::u128";
8481
+ }];
8482
+ }, {
8483
+ readonly type: "interface";
8484
+ readonly name: "openzeppelin_token::erc721::interface::IERC721Metadata";
8485
+ readonly items: readonly [{
8486
+ readonly type: "function";
8487
+ readonly name: "name";
8488
+ readonly inputs: readonly [];
8489
+ readonly outputs: readonly [{
8490
+ readonly type: "core::byte_array::ByteArray";
8491
+ }];
8492
+ readonly state_mutability: "view";
8493
+ }, {
8494
+ readonly type: "function";
8495
+ readonly name: "symbol";
8496
+ readonly inputs: readonly [];
8497
+ readonly outputs: readonly [{
8498
+ readonly type: "core::byte_array::ByteArray";
8499
+ }];
8500
+ readonly state_mutability: "view";
8501
+ }, {
8502
+ readonly type: "function";
8503
+ readonly name: "token_uri";
8504
+ readonly inputs: readonly [{
8505
+ readonly name: "token_id";
8506
+ readonly type: "core::integer::u256";
8507
+ }];
8508
+ readonly outputs: readonly [{
8509
+ readonly type: "core::byte_array::ByteArray";
8510
+ }];
8511
+ readonly state_mutability: "view";
8512
+ }];
8513
+ }, {
8514
+ readonly type: "impl";
8515
+ readonly name: "ERC721MetadataCamelOnlyImpl";
8516
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
8517
+ }, {
8518
+ readonly type: "interface";
8519
+ readonly name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
8520
+ readonly items: readonly [{
8521
+ readonly type: "function";
8522
+ readonly name: "tokenURI";
8523
+ readonly inputs: readonly [{
8524
+ readonly name: "tokenId";
8525
+ readonly type: "core::integer::u256";
8526
+ }];
8527
+ readonly outputs: readonly [{
8528
+ readonly type: "core::byte_array::ByteArray";
8529
+ }];
8530
+ readonly state_mutability: "view";
8531
+ }];
8532
+ }, {
8533
+ readonly type: "impl";
8534
+ readonly name: "IPSponsorshipLicenseImpl";
8535
+ readonly interface_name: "ip_sponsorship::interface::IIPSponsorshipLicense";
8536
+ }, {
8537
+ readonly type: "enum";
8538
+ readonly name: "core::bool";
8539
+ readonly variants: readonly [{
8540
+ readonly name: "False";
8541
+ readonly type: "()";
8542
+ }, {
8543
+ readonly name: "True";
8544
+ readonly type: "()";
8545
+ }];
8546
+ }, {
8547
+ readonly type: "struct";
8548
+ readonly name: "ip_sponsorship::types::LicenseData";
8549
+ readonly members: readonly [{
8550
+ readonly name: "author";
8551
+ readonly type: "core::starknet::contract_address::ContractAddress";
8552
+ }, {
8553
+ readonly name: "asset_contract";
8554
+ readonly type: "core::starknet::contract_address::ContractAddress";
8555
+ }, {
8556
+ readonly name: "asset_token_id";
8557
+ readonly type: "core::integer::u256";
8558
+ }, {
8559
+ readonly name: "expires_at";
8560
+ readonly type: "core::integer::u64";
8561
+ }, {
8562
+ readonly name: "transferable";
8563
+ readonly type: "core::bool";
8564
+ }, {
8565
+ readonly name: "royalty_bps";
8566
+ readonly type: "core::integer::u256";
8567
+ }, {
8568
+ readonly name: "license_terms_uri";
8569
+ readonly type: "core::byte_array::ByteArray";
8570
+ }];
8571
+ }, {
8572
+ readonly type: "interface";
8573
+ readonly name: "ip_sponsorship::interface::IIPSponsorshipLicense";
8574
+ readonly items: readonly [{
8575
+ readonly type: "function";
8576
+ readonly name: "set_minter";
8577
+ readonly inputs: readonly [{
8578
+ readonly name: "minter";
8579
+ readonly type: "core::starknet::contract_address::ContractAddress";
8580
+ }];
8581
+ readonly outputs: readonly [];
8582
+ readonly state_mutability: "external";
8583
+ }, {
8584
+ readonly type: "function";
8585
+ readonly name: "get_minter";
8586
+ readonly inputs: readonly [];
8587
+ readonly outputs: readonly [{
8588
+ readonly type: "core::starknet::contract_address::ContractAddress";
8589
+ }];
8590
+ readonly state_mutability: "view";
8591
+ }, {
8592
+ readonly type: "function";
8593
+ readonly name: "mint";
8594
+ readonly inputs: readonly [{
8595
+ readonly name: "recipient";
8596
+ readonly type: "core::starknet::contract_address::ContractAddress";
8597
+ }, {
8598
+ readonly name: "data";
8599
+ readonly type: "ip_sponsorship::types::LicenseData";
8600
+ }];
8601
+ readonly outputs: readonly [{
8602
+ readonly type: "core::integer::u256";
8603
+ }];
8604
+ readonly state_mutability: "external";
8605
+ }, {
8606
+ readonly type: "function";
8607
+ readonly name: "get_license_data";
8608
+ readonly inputs: readonly [{
8609
+ readonly name: "token_id";
8610
+ readonly type: "core::integer::u256";
8611
+ }];
8612
+ readonly outputs: readonly [{
8613
+ readonly type: "ip_sponsorship::types::LicenseData";
8614
+ }];
8615
+ readonly state_mutability: "view";
8616
+ }, {
8617
+ readonly type: "function";
8618
+ readonly name: "is_license_valid";
8619
+ readonly inputs: readonly [{
8620
+ readonly name: "token_id";
8621
+ readonly type: "core::integer::u256";
8622
+ }];
8623
+ readonly outputs: readonly [{
8624
+ readonly type: "core::bool";
8625
+ }];
8626
+ readonly state_mutability: "view";
8627
+ }, {
8628
+ readonly type: "function";
8629
+ readonly name: "last_license_id";
8630
+ readonly inputs: readonly [];
8631
+ readonly outputs: readonly [{
8632
+ readonly type: "core::integer::u256";
8633
+ }];
8634
+ readonly state_mutability: "view";
8635
+ }, {
8636
+ readonly type: "function";
8637
+ readonly name: "royalty_info";
8638
+ readonly inputs: readonly [{
8639
+ readonly name: "token_id";
8640
+ readonly type: "core::integer::u256";
8641
+ }, {
8642
+ readonly name: "sale_price";
8643
+ readonly type: "core::integer::u256";
8644
+ }];
8645
+ readonly outputs: readonly [{
8646
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
8647
+ }];
8648
+ readonly state_mutability: "view";
8649
+ }, {
8650
+ readonly type: "function";
8651
+ readonly name: "royaltyInfo";
8652
+ readonly inputs: readonly [{
8653
+ readonly name: "token_id";
8654
+ readonly type: "core::integer::u256";
8655
+ }, {
8656
+ readonly name: "sale_price";
8657
+ readonly type: "core::integer::u256";
8658
+ }];
8659
+ readonly outputs: readonly [{
8660
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
8661
+ }];
8662
+ readonly state_mutability: "view";
8663
+ }, {
8664
+ readonly type: "function";
8665
+ readonly name: "version";
8666
+ readonly inputs: readonly [];
8667
+ readonly outputs: readonly [{
8668
+ readonly type: "core::byte_array::ByteArray";
8669
+ }];
8670
+ readonly state_mutability: "view";
8671
+ }];
8672
+ }, {
8673
+ readonly type: "impl";
8674
+ readonly name: "ERC721Impl";
8675
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721";
8676
+ }, {
8677
+ readonly type: "struct";
8678
+ readonly name: "core::array::Span::<core::felt252>";
8679
+ readonly members: readonly [{
8680
+ readonly name: "snapshot";
8681
+ readonly type: "@core::array::Array::<core::felt252>";
8682
+ }];
8683
+ }, {
8684
+ readonly type: "interface";
8685
+ readonly name: "openzeppelin_token::erc721::interface::IERC721";
8686
+ readonly items: readonly [{
8687
+ readonly type: "function";
8688
+ readonly name: "balance_of";
8689
+ readonly inputs: readonly [{
8690
+ readonly name: "account";
8691
+ readonly type: "core::starknet::contract_address::ContractAddress";
8692
+ }];
8693
+ readonly outputs: readonly [{
8694
+ readonly type: "core::integer::u256";
8695
+ }];
8696
+ readonly state_mutability: "view";
8697
+ }, {
8698
+ readonly type: "function";
8699
+ readonly name: "owner_of";
8700
+ readonly inputs: readonly [{
8701
+ readonly name: "token_id";
8702
+ readonly type: "core::integer::u256";
8703
+ }];
8704
+ readonly outputs: readonly [{
8705
+ readonly type: "core::starknet::contract_address::ContractAddress";
8706
+ }];
8707
+ readonly state_mutability: "view";
8708
+ }, {
8709
+ readonly type: "function";
8710
+ readonly name: "safe_transfer_from";
8711
+ readonly inputs: readonly [{
8712
+ readonly name: "from";
8713
+ readonly type: "core::starknet::contract_address::ContractAddress";
8714
+ }, {
8715
+ readonly name: "to";
8716
+ readonly type: "core::starknet::contract_address::ContractAddress";
8717
+ }, {
8718
+ readonly name: "token_id";
8719
+ readonly type: "core::integer::u256";
8720
+ }, {
8721
+ readonly name: "data";
8722
+ readonly type: "core::array::Span::<core::felt252>";
8723
+ }];
8724
+ readonly outputs: readonly [];
8725
+ readonly state_mutability: "external";
8726
+ }, {
8727
+ readonly type: "function";
8728
+ readonly name: "transfer_from";
8729
+ readonly inputs: readonly [{
8730
+ readonly name: "from";
8731
+ readonly type: "core::starknet::contract_address::ContractAddress";
8732
+ }, {
8733
+ readonly name: "to";
8734
+ readonly type: "core::starknet::contract_address::ContractAddress";
8735
+ }, {
8736
+ readonly name: "token_id";
8737
+ readonly type: "core::integer::u256";
8738
+ }];
8739
+ readonly outputs: readonly [];
8740
+ readonly state_mutability: "external";
8741
+ }, {
8742
+ readonly type: "function";
8743
+ readonly name: "approve";
8744
+ readonly inputs: readonly [{
8745
+ readonly name: "to";
8746
+ readonly type: "core::starknet::contract_address::ContractAddress";
8747
+ }, {
8748
+ readonly name: "token_id";
8749
+ readonly type: "core::integer::u256";
8750
+ }];
8751
+ readonly outputs: readonly [];
8752
+ readonly state_mutability: "external";
8753
+ }, {
8754
+ readonly type: "function";
8755
+ readonly name: "set_approval_for_all";
8756
+ readonly inputs: readonly [{
8757
+ readonly name: "operator";
8758
+ readonly type: "core::starknet::contract_address::ContractAddress";
8759
+ }, {
8760
+ readonly name: "approved";
8761
+ readonly type: "core::bool";
8762
+ }];
8763
+ readonly outputs: readonly [];
8764
+ readonly state_mutability: "external";
8765
+ }, {
8766
+ readonly type: "function";
8767
+ readonly name: "get_approved";
8768
+ readonly inputs: readonly [{
8769
+ readonly name: "token_id";
8770
+ readonly type: "core::integer::u256";
8771
+ }];
8772
+ readonly outputs: readonly [{
8773
+ readonly type: "core::starknet::contract_address::ContractAddress";
8774
+ }];
8775
+ readonly state_mutability: "view";
8776
+ }, {
8777
+ readonly type: "function";
8778
+ readonly name: "is_approved_for_all";
8779
+ readonly inputs: readonly [{
8780
+ readonly name: "owner";
8781
+ readonly type: "core::starknet::contract_address::ContractAddress";
8782
+ }, {
8783
+ readonly name: "operator";
8784
+ readonly type: "core::starknet::contract_address::ContractAddress";
8785
+ }];
8786
+ readonly outputs: readonly [{
8787
+ readonly type: "core::bool";
8788
+ }];
8789
+ readonly state_mutability: "view";
8790
+ }];
8791
+ }, {
8792
+ readonly type: "impl";
8793
+ readonly name: "ERC721CamelOnly";
8794
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
8795
+ }, {
8796
+ readonly type: "interface";
8797
+ readonly name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
8798
+ readonly items: readonly [{
8799
+ readonly type: "function";
8800
+ readonly name: "balanceOf";
8801
+ readonly inputs: readonly [{
8802
+ readonly name: "account";
8803
+ readonly type: "core::starknet::contract_address::ContractAddress";
8804
+ }];
8805
+ readonly outputs: readonly [{
8806
+ readonly type: "core::integer::u256";
8807
+ }];
8808
+ readonly state_mutability: "view";
8809
+ }, {
8810
+ readonly type: "function";
8811
+ readonly name: "ownerOf";
8812
+ readonly inputs: readonly [{
8813
+ readonly name: "tokenId";
8814
+ readonly type: "core::integer::u256";
8815
+ }];
8816
+ readonly outputs: readonly [{
8817
+ readonly type: "core::starknet::contract_address::ContractAddress";
8818
+ }];
8819
+ readonly state_mutability: "view";
8820
+ }, {
8821
+ readonly type: "function";
8822
+ readonly name: "safeTransferFrom";
8823
+ readonly inputs: readonly [{
8824
+ readonly name: "from";
8825
+ readonly type: "core::starknet::contract_address::ContractAddress";
8826
+ }, {
8827
+ readonly name: "to";
8828
+ readonly type: "core::starknet::contract_address::ContractAddress";
8829
+ }, {
8830
+ readonly name: "tokenId";
8831
+ readonly type: "core::integer::u256";
8832
+ }, {
8833
+ readonly name: "data";
8834
+ readonly type: "core::array::Span::<core::felt252>";
8835
+ }];
8836
+ readonly outputs: readonly [];
8837
+ readonly state_mutability: "external";
8838
+ }, {
8839
+ readonly type: "function";
8840
+ readonly name: "transferFrom";
8841
+ readonly inputs: readonly [{
8842
+ readonly name: "from";
8843
+ readonly type: "core::starknet::contract_address::ContractAddress";
8844
+ }, {
8845
+ readonly name: "to";
8846
+ readonly type: "core::starknet::contract_address::ContractAddress";
8847
+ }, {
8848
+ readonly name: "tokenId";
8849
+ readonly type: "core::integer::u256";
8850
+ }];
8851
+ readonly outputs: readonly [];
8852
+ readonly state_mutability: "external";
8853
+ }, {
8854
+ readonly type: "function";
8855
+ readonly name: "setApprovalForAll";
8856
+ readonly inputs: readonly [{
8857
+ readonly name: "operator";
8858
+ readonly type: "core::starknet::contract_address::ContractAddress";
8859
+ }, {
8860
+ readonly name: "approved";
8861
+ readonly type: "core::bool";
8862
+ }];
8863
+ readonly outputs: readonly [];
8864
+ readonly state_mutability: "external";
8865
+ }, {
8866
+ readonly type: "function";
8867
+ readonly name: "getApproved";
8868
+ readonly inputs: readonly [{
8869
+ readonly name: "tokenId";
8870
+ readonly type: "core::integer::u256";
8871
+ }];
8872
+ readonly outputs: readonly [{
8873
+ readonly type: "core::starknet::contract_address::ContractAddress";
8874
+ }];
8875
+ readonly state_mutability: "view";
8876
+ }, {
8877
+ readonly type: "function";
8878
+ readonly name: "isApprovedForAll";
8879
+ readonly inputs: readonly [{
8880
+ readonly name: "owner";
8881
+ readonly type: "core::starknet::contract_address::ContractAddress";
8882
+ }, {
8883
+ readonly name: "operator";
8884
+ readonly type: "core::starknet::contract_address::ContractAddress";
8885
+ }];
8886
+ readonly outputs: readonly [{
8887
+ readonly type: "core::bool";
8888
+ }];
8889
+ readonly state_mutability: "view";
8890
+ }];
8891
+ }, {
8892
+ readonly type: "impl";
8893
+ readonly name: "SRC5Impl";
8894
+ readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
8895
+ }, {
8896
+ readonly type: "interface";
8897
+ readonly name: "openzeppelin_introspection::interface::ISRC5";
8898
+ readonly items: readonly [{
8899
+ readonly type: "function";
8900
+ readonly name: "supports_interface";
8901
+ readonly inputs: readonly [{
8902
+ readonly name: "interface_id";
8903
+ readonly type: "core::felt252";
8904
+ }];
8905
+ readonly outputs: readonly [{
8906
+ readonly type: "core::bool";
8907
+ }];
8908
+ readonly state_mutability: "view";
8909
+ }];
8910
+ }, {
8911
+ readonly type: "constructor";
8912
+ readonly name: "constructor";
8913
+ readonly inputs: readonly [{
8914
+ readonly name: "name";
8915
+ readonly type: "core::byte_array::ByteArray";
8916
+ }, {
8917
+ readonly name: "symbol";
8918
+ readonly type: "core::byte_array::ByteArray";
8919
+ }];
8920
+ }, {
8921
+ readonly type: "event";
8922
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
8923
+ readonly kind: "struct";
8924
+ readonly members: readonly [{
8925
+ readonly name: "from";
8926
+ readonly type: "core::starknet::contract_address::ContractAddress";
8927
+ readonly kind: "key";
8928
+ }, {
8929
+ readonly name: "to";
8930
+ readonly type: "core::starknet::contract_address::ContractAddress";
8931
+ readonly kind: "key";
8932
+ }, {
8933
+ readonly name: "token_id";
8934
+ readonly type: "core::integer::u256";
8935
+ readonly kind: "key";
8936
+ }];
8937
+ }, {
8938
+ readonly type: "event";
8939
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
8940
+ readonly kind: "struct";
8941
+ readonly members: readonly [{
8942
+ readonly name: "owner";
8943
+ readonly type: "core::starknet::contract_address::ContractAddress";
8944
+ readonly kind: "key";
8945
+ }, {
8946
+ readonly name: "approved";
8947
+ readonly type: "core::starknet::contract_address::ContractAddress";
8948
+ readonly kind: "key";
8949
+ }, {
8950
+ readonly name: "token_id";
8951
+ readonly type: "core::integer::u256";
8952
+ readonly kind: "key";
8953
+ }];
8954
+ }, {
8955
+ readonly type: "event";
8956
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
8957
+ readonly kind: "struct";
8958
+ readonly members: readonly [{
8959
+ readonly name: "owner";
8960
+ readonly type: "core::starknet::contract_address::ContractAddress";
8961
+ readonly kind: "key";
8962
+ }, {
8963
+ readonly name: "operator";
8964
+ readonly type: "core::starknet::contract_address::ContractAddress";
8965
+ readonly kind: "key";
8966
+ }, {
8967
+ readonly name: "approved";
8968
+ readonly type: "core::bool";
8969
+ readonly kind: "data";
8970
+ }];
8971
+ }, {
8972
+ readonly type: "event";
8973
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
8974
+ readonly kind: "enum";
8975
+ readonly variants: readonly [{
8976
+ readonly name: "Transfer";
8977
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
8978
+ readonly kind: "nested";
8979
+ }, {
8980
+ readonly name: "Approval";
8981
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
8982
+ readonly kind: "nested";
8983
+ }, {
8984
+ readonly name: "ApprovalForAll";
8985
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
8986
+ readonly kind: "nested";
8987
+ }];
8988
+ }, {
8989
+ readonly type: "event";
8990
+ readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
8991
+ readonly kind: "enum";
8992
+ readonly variants: readonly [];
8993
+ }, {
8994
+ readonly type: "event";
8995
+ readonly name: "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::LicenseMinted";
8996
+ readonly kind: "struct";
8997
+ readonly members: readonly [{
8998
+ readonly name: "token_id";
8999
+ readonly type: "core::integer::u256";
9000
+ readonly kind: "key";
9001
+ }, {
9002
+ readonly name: "recipient";
9003
+ readonly type: "core::starknet::contract_address::ContractAddress";
9004
+ readonly kind: "key";
9005
+ }, {
9006
+ readonly name: "author";
9007
+ readonly type: "core::starknet::contract_address::ContractAddress";
9008
+ readonly kind: "key";
9009
+ }, {
9010
+ readonly name: "asset_contract";
9011
+ readonly type: "core::starknet::contract_address::ContractAddress";
9012
+ readonly kind: "data";
9013
+ }, {
9014
+ readonly name: "asset_token_id";
9015
+ readonly type: "core::integer::u256";
9016
+ readonly kind: "data";
9017
+ }, {
9018
+ readonly name: "expires_at";
9019
+ readonly type: "core::integer::u64";
9020
+ readonly kind: "data";
9021
+ }, {
9022
+ readonly name: "transferable";
9023
+ readonly type: "core::bool";
9024
+ readonly kind: "data";
9025
+ }, {
9026
+ readonly name: "royalty_bps";
9027
+ readonly type: "core::integer::u256";
9028
+ readonly kind: "data";
9029
+ }, {
9030
+ readonly name: "license_terms_uri";
9031
+ readonly type: "core::byte_array::ByteArray";
9032
+ readonly kind: "data";
9033
+ }, {
9034
+ readonly name: "minted_at";
9035
+ readonly type: "core::integer::u64";
9036
+ readonly kind: "data";
9037
+ }];
9038
+ }, {
9039
+ readonly type: "event";
9040
+ readonly name: "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::Event";
9041
+ readonly kind: "enum";
9042
+ readonly variants: readonly [{
9043
+ readonly name: "ERC721Event";
9044
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
9045
+ readonly kind: "flat";
9046
+ }, {
9047
+ readonly name: "SRC5Event";
9048
+ readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
9049
+ readonly kind: "flat";
8280
9050
  }, {
8281
- readonly name: "LicenseTransferred";
8282
- readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred";
9051
+ readonly name: "LicenseMinted";
9052
+ readonly type: "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::LicenseMinted";
8283
9053
  readonly kind: "nested";
8284
9054
  }];
8285
9055
  }];
@@ -9360,4 +10130,4 @@ declare function build1155OrderTypedData(message: Record<string, unknown>, chain
9360
10130
  declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
9361
10131
  declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
9362
10132
 
9363
- export { ADMIN_HEADERS, ADMIN_SCOPE, type ActivityType, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, type ApiCoin, type ApiCoinsQuery, 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 ApiPointEvent, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiRewardsBadge, type ApiRewardsBatchEntry, type ApiRewardsConfig, type ApiRewardsLeaderboardEntry, type ApiRewardsLevel, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserRewards, type ApiUserWallet, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintEditionParams, type BuildFeeCallParams, CHAINS, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type Chain, type ChainCoordinates, type ClaimConditions, ClubService, type CollectionSort, type CollectionTokensSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateClubParams, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateCreatorCoinParams, type CreateDropParams, type CreateGrantOpts, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateSponsorshipOfferParams, type CreateTicketCollectionParams, type CreateWebhookParams, CreatorCoinFactoryABI, type CreatorCoinPrice, type CreatorCoinReceiptLike, CreatorCoinService, DEFAULT_CHAIN, DEFAULT_CURRENCY, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EnforcementDeclaration, type FailoverFetchOptions, type FeeConfig, FeeConfigSchema, type FeeSurface, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, IPClubABI, IPClubNFTABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, type IPType, type IntentCall, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, LAUNCH_PRICE_QUOTE_PER_COIN, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintEditionParams, type MintParams, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, PUBLIC_RPC_FALLBACKS, type ParsedAdminHeaders, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type RequestSiwsTokenArgs, type ResolvedConfig, type ResolvedFeeConfig, type RetryOptions, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_IP_CLUB_NFT_CLASS_HASH, STARKNET_IP_CLUB_REGISTRY_CONTRACT, STARKNET_IP_SPONSORSHIP_CONTRACT, STARKNET_IP_SPONSORSHIP_LICENSE_CONTRACT, STARKNET_IP_TICKETS_FACTORY_CONTRACT, STARKNET_IP_TICKET_COLLECTION_CLASS_HASH, STARKNET_MARKETPLACE_1155_CLASS_HASH, STARKNET_MARKETPLACE_1155_CONTRACT, STARKNET_MARKETPLACE_1155_START_BLOCK, STARKNET_MARKETPLACE_721_CLASS_HASH, STARKNET_MARKETPLACE_721_CONTRACT, STARKNET_MARKETPLACE_721_START_BLOCK, STARKNET_NFTCOMMENTS_CONTRACT, STARKNET_POP_COLLECTION_CLASS_HASH, STARKNET_POP_FACTORY_CONTRACT, SUPPORTED_TOKENS, type ServiceCapability, type ServiceDefinition, type ServiceEventDeclaration, type ServiceId, type SiwsSigner, type SortOrder, SponsorshipService, type SupportedToken, type SupportedTokenSymbol, type TenantPlan, TicketService, type TxResult, VALIDATED_EKUBO_PARAMS, type WebhookEventType, type WebhookStatus, adminRequestDigest, build1155CancellationTypedData, build1155OrderTypedData, buildAdminSessionTypedData, buildCancellationTypedData, buildCreateCreatorCoinCall, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buybackQuoteRaw, toRaw as coinToRaw, createAdminSessionGrant, createFailoverFetch, encodeAdminHeaders, encodeByteArray, fdvHuman, formatAmount, getCoordinates, getCreatorCoinPrice, getListableTokens, getService, getServicesByCapability, getSiwsStorageKey, getStoredSiwsToken, getTokenByAddress, getTokenBySymbol, hasCapability, isServiceId, isSiwsTokenValid, isTransientRpcError, listServices, normalizeAddress, normalizeHash, normalizeSiwsSignature, parseAdminHeaders, parseAmount, parseCreatorCoinCreated, randomNonce, requestSiwsToken, resolveConfig, resolveFeeConfig, sessionKeyHashOf, shortenAddress, signAdminRequest, storeSiwsToken, stringifyBigInts, teamCoinsRaw, u256ToBigInt, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, verifyAdminRequestSig };
10133
+ export { ADMIN_HEADERS, ADMIN_SCOPE, type ActivityType, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, type ApiCoin, type ApiCoinsQuery, 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 ApiPointEvent, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiRewardsBadge, type ApiRewardsBatchEntry, type ApiRewardsConfig, type ApiRewardsLeaderboardEntry, type ApiRewardsLevel, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserRewards, type ApiUserWallet, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintEditionParams, type BuildFeeCallParams, CHAINS, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type Chain, type ChainCoordinates, type ClaimConditions, ClubService, type CollectionSort, type CollectionTokensSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateClubParams, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateCreatorCoinParams, type CreateDropParams, type CreateGrantOpts, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateSponsorshipOfferParams, type CreateTicketCollectionParams, type CreateWebhookParams, CreatorCoinFactoryABI, type CreatorCoinPrice, type CreatorCoinReceiptLike, CreatorCoinService, DEFAULT_CHAIN, DEFAULT_CURRENCY, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EnforcementDeclaration, type FailoverFetchOptions, type FeeConfig, FeeConfigSchema, type FeeSurface, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, IPClubABI, IPClubNFTABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPSponsorshipLicenseABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, type IPType, type IntentCall, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, LAUNCH_PRICE_QUOTE_PER_COIN, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintEditionParams, type MintParams, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, PUBLIC_RPC_FALLBACKS, type ParsedAdminHeaders, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type RequestSiwsTokenArgs, type ResolvedConfig, type ResolvedFeeConfig, type RetryOptions, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_IP_CLUB_NFT_CLASS_HASH, STARKNET_IP_CLUB_REGISTRY_CONTRACT, STARKNET_IP_SPONSORSHIP_CONTRACT, STARKNET_IP_SPONSORSHIP_LICENSE_CONTRACT, STARKNET_IP_TICKETS_FACTORY_CONTRACT, STARKNET_IP_TICKET_COLLECTION_CLASS_HASH, STARKNET_MARKETPLACE_1155_CLASS_HASH, STARKNET_MARKETPLACE_1155_CONTRACT, STARKNET_MARKETPLACE_1155_START_BLOCK, STARKNET_MARKETPLACE_721_CLASS_HASH, STARKNET_MARKETPLACE_721_CONTRACT, STARKNET_MARKETPLACE_721_START_BLOCK, STARKNET_NFTCOMMENTS_CONTRACT, STARKNET_POP_COLLECTION_CLASS_HASH, STARKNET_POP_FACTORY_CONTRACT, SUPPORTED_TOKENS, type ServiceCapability, type ServiceDefinition, type ServiceEventDeclaration, type ServiceId, type SiwsSigner, type SortOrder, SponsorshipService, type SupportedToken, type SupportedTokenSymbol, type TenantPlan, TicketService, type TxResult, VALIDATED_EKUBO_PARAMS, type WebhookEventType, type WebhookStatus, adminRequestDigest, build1155CancellationTypedData, build1155OrderTypedData, buildAdminSessionTypedData, buildCancellationTypedData, buildCreateCreatorCoinCall, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buybackQuoteRaw, toRaw as coinToRaw, createAdminSessionGrant, createFailoverFetch, encodeAdminHeaders, encodeByteArray, fdvHuman, formatAmount, getCoordinates, getCreatorCoinPrice, getListableTokens, getService, getServicesByCapability, getSiwsStorageKey, getStoredSiwsToken, getTokenByAddress, getTokenBySymbol, hasCapability, isServiceId, isSiwsTokenValid, isTransientRpcError, listServices, normalizeAddress, normalizeHash, normalizeSiwsSignature, parseAdminHeaders, parseAmount, parseCreatorCoinCreated, randomNonce, requestSiwsToken, resolveConfig, resolveFeeConfig, sessionKeyHashOf, shortenAddress, signAdminRequest, storeSiwsToken, stringifyBigInts, teamCoinsRaw, u256ToBigInt, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, verifyAdminRequestSig };