@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.cjs CHANGED
@@ -37,18 +37,19 @@ var COORDINATES = {
37
37
  creatorCoinFactoryClassHash: "0x51765926b1344c9a20b8cd4b5abe7b7d47375ae97cf6804db3ea5d4b05a9b55",
38
38
  creatorCoinStartBlock: 10474544,
39
39
  ekuboCore: "0x00000005dd3d2f4429af886cd1a3b08289dbcea99a294197e9eb43b0e0325b4b",
40
- ipTicketsFactory: "0x0664c2d6a4da9ee3ff053ceeba7579c01f2fedfd9d2b57b4c07af3734bd4acab",
41
- ipTicketCollectionClassHash: "0x086f59c416e365e2bee4ceff9f1dcb96198f2342d50ba4621f60b831863adb6",
42
- ipTicketsStartBlock: 11404656,
43
- ipClubRegistry: "0x00e189c619b6bb07d78973a149641c59c37eb0716f8584d7520bce12d303eede",
44
- ipClubNftClassHash: "0x02bc9b20cca21b04245e9215bf7121f4d7295b195890e449b472b573017fb889",
45
- ipClubStartBlock: 11404776,
46
- ipSponsorship: "0x044d9b9c3bb29b94685b0a3fe27a5e2dfa30a3637ab55979c718ebcd3268bc2f",
47
- ipSponsorshipStartBlock: 11405085,
48
- // Dedicated ip-erc721/MIP instance for sponsorship receipts (class hash
49
- // 0x01bd7e39c5135b32b664e34cbbb4eafbd707a0fbc3ec2ef28657f52577d277d7) —
50
- // never the genesis-mint instance.
51
- ipSponsorshipLicense: "0x06bcfc4e97758a2abf95af4bd49596efdbfd88ccd740caddc56ad0a4bd095839"
40
+ ipTicketsFactory: "0x04edac46ede94322f19837e950f0a4cefa905217a5aa56ac0a1f4da99593e9ad",
41
+ ipTicketsFactoryClassHash: "0x059a8e2ec4d50ae51f38bd8782df7eee427733e3ca630c2d8c608f033595461f",
42
+ ipTicketCollectionClassHash: "0x03b0f2a684fb5fc3ebb224bce56f13cbc73c589aa928ea0a456db5fd97252c6c",
43
+ ipTicketsStartBlock: 11648661,
44
+ ipClubRegistry: "0x04ddbb1f0e300cf62102b87d650114e5638748de89e03e7b8caa70ae7f2c8109",
45
+ ipClubRegistryClassHash: "0x00ceebdc63797921fb3fc4ef225e9b3e410d374745f4f4b2aa26df5a3266c07e",
46
+ ipClubNftClassHash: "0x009fe1a25946012df066a9c5a5dc3f56136ca5ed251de3fa8a66e476e49f762a",
47
+ ipClubStartBlock: 11649696,
48
+ ipSponsorship: "0x04c2e0687de93f2ac23a406ab1fa2b554cc6188369ff75f2d1dcad8ff426b050",
49
+ ipSponsorshipClassHash: "0x04815dcac9b6e28128cf1b607f43ab30d52d29cd41444c3bd5fdf8aaf3b9bdcf",
50
+ ipSponsorshipStartBlock: 11648782,
51
+ ipSponsorshipLicense: "0x0794ed9a09ec721d013a28cc8c1ff3cb374506c51fd23f4059589fa5c3b72167",
52
+ ipSponsorshipLicenseClassHash: "0x05366e8d2db6a51472dcb7a1dabe31509f129aa62cc4d02a1de5d6a20cf7ca6b"
52
53
  }
53
54
  };
54
55
  function getCoordinates(chain) {
@@ -4935,6 +4936,10 @@ var IPTicketCollectionABI = [
4935
4936
  {
4936
4937
  "name": "collection_id",
4937
4938
  "type": "core::integer::u256"
4939
+ },
4940
+ {
4941
+ "name": "recipient",
4942
+ "type": "core::starknet::contract_address::ContractAddress"
4938
4943
  }
4939
4944
  ],
4940
4945
  "outputs": [
@@ -5057,7 +5062,7 @@ var IPTicketCollectionABI = [
5057
5062
  },
5058
5063
  {
5059
5064
  "type": "function",
5060
- "name": "total_supply",
5065
+ "name": "total_minted",
5061
5066
  "inputs": [],
5062
5067
  "outputs": [
5063
5068
  {
@@ -5066,6 +5071,17 @@ var IPTicketCollectionABI = [
5066
5071
  ],
5067
5072
  "state_mutability": "view"
5068
5073
  },
5074
+ {
5075
+ "type": "function",
5076
+ "name": "version",
5077
+ "inputs": [],
5078
+ "outputs": [
5079
+ {
5080
+ "type": "core::byte_array::ByteArray"
5081
+ }
5082
+ ],
5083
+ "state_mutability": "view"
5084
+ },
5069
5085
  {
5070
5086
  "type": "function",
5071
5087
  "name": "royalty_info",
@@ -5756,6 +5772,11 @@ var IPTicketCollectionABI = [
5756
5772
  "type": "core::starknet::contract_address::ContractAddress",
5757
5773
  "kind": "key"
5758
5774
  },
5775
+ {
5776
+ "name": "payer",
5777
+ "type": "core::starknet::contract_address::ContractAddress",
5778
+ "kind": "data"
5779
+ },
5759
5780
  {
5760
5781
  "name": "minted_at",
5761
5782
  "type": "core::integer::u64",
@@ -5907,6 +5928,47 @@ var IPTicketCollectionFactoryABI = [
5907
5928
  }
5908
5929
  ]
5909
5930
  },
5931
+ {
5932
+ "type": "impl",
5933
+ "name": "SRC5Impl",
5934
+ "interface_name": "openzeppelin_introspection::interface::ISRC5"
5935
+ },
5936
+ {
5937
+ "type": "enum",
5938
+ "name": "core::bool",
5939
+ "variants": [
5940
+ {
5941
+ "name": "False",
5942
+ "type": "()"
5943
+ },
5944
+ {
5945
+ "name": "True",
5946
+ "type": "()"
5947
+ }
5948
+ ]
5949
+ },
5950
+ {
5951
+ "type": "interface",
5952
+ "name": "openzeppelin_introspection::interface::ISRC5",
5953
+ "items": [
5954
+ {
5955
+ "type": "function",
5956
+ "name": "supports_interface",
5957
+ "inputs": [
5958
+ {
5959
+ "name": "interface_id",
5960
+ "type": "core::felt252"
5961
+ }
5962
+ ],
5963
+ "outputs": [
5964
+ {
5965
+ "type": "core::bool"
5966
+ }
5967
+ ],
5968
+ "state_mutability": "view"
5969
+ }
5970
+ ]
5971
+ },
5910
5972
  {
5911
5973
  "type": "constructor",
5912
5974
  "name": "constructor",
@@ -5917,6 +5979,12 @@ var IPTicketCollectionFactoryABI = [
5917
5979
  }
5918
5980
  ]
5919
5981
  },
5982
+ {
5983
+ "type": "event",
5984
+ "name": "openzeppelin_introspection::src5::SRC5Component::Event",
5985
+ "kind": "enum",
5986
+ "variants": []
5987
+ },
5920
5988
  {
5921
5989
  "type": "event",
5922
5990
  "name": "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::CollectionDeployed",
@@ -5949,6 +6017,11 @@ var IPTicketCollectionFactoryABI = [
5949
6017
  "name": "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::Event",
5950
6018
  "kind": "enum",
5951
6019
  "variants": [
6020
+ {
6021
+ "name": "SRC5Event",
6022
+ "type": "openzeppelin_introspection::src5::SRC5Component::Event",
6023
+ "kind": "flat"
6024
+ },
5952
6025
  {
5953
6026
  "name": "CollectionDeployed",
5954
6027
  "type": "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::CollectionDeployed",
@@ -6039,6 +6112,20 @@ var IPClubABI = [
6039
6112
  }
6040
6113
  ]
6041
6114
  },
6115
+ {
6116
+ "type": "enum",
6117
+ "name": "core::option::Option::<core::integer::u64>",
6118
+ "variants": [
6119
+ {
6120
+ "name": "Some",
6121
+ "type": "core::integer::u64"
6122
+ },
6123
+ {
6124
+ "name": "None",
6125
+ "type": "()"
6126
+ }
6127
+ ]
6128
+ },
6042
6129
  {
6043
6130
  "type": "enum",
6044
6131
  "name": "core::bool",
@@ -6084,6 +6171,14 @@ var IPClubABI = [
6084
6171
  {
6085
6172
  "name": "payment_token",
6086
6173
  "type": "core::option::Option::<core::starknet::contract_address::ContractAddress>"
6174
+ },
6175
+ {
6176
+ "name": "transfer_lock",
6177
+ "type": "core::option::Option::<core::integer::u64>"
6178
+ },
6179
+ {
6180
+ "name": "royalty_bps",
6181
+ "type": "core::integer::u256"
6087
6182
  }
6088
6183
  ]
6089
6184
  },
@@ -6118,6 +6213,14 @@ var IPClubABI = [
6118
6213
  {
6119
6214
  "name": "payment_token",
6120
6215
  "type": "core::option::Option::<core::starknet::contract_address::ContractAddress>"
6216
+ },
6217
+ {
6218
+ "name": "transfer_lock",
6219
+ "type": "core::option::Option::<core::integer::u64>"
6220
+ },
6221
+ {
6222
+ "name": "royalty_bps",
6223
+ "type": "core::integer::u256"
6121
6224
  }
6122
6225
  ],
6123
6226
  "outputs": [
@@ -6217,6 +6320,17 @@ var IPClubABI = [
6217
6320
  }
6218
6321
  ],
6219
6322
  "state_mutability": "view"
6323
+ },
6324
+ {
6325
+ "type": "function",
6326
+ "name": "version",
6327
+ "inputs": [],
6328
+ "outputs": [
6329
+ {
6330
+ "type": "core::byte_array::ByteArray"
6331
+ }
6332
+ ],
6333
+ "state_mutability": "view"
6220
6334
  }
6221
6335
  ]
6222
6336
  },
@@ -6288,6 +6402,16 @@ var IPClubABI = [
6288
6402
  "type": "core::byte_array::ByteArray",
6289
6403
  "kind": "data"
6290
6404
  },
6405
+ {
6406
+ "name": "transfer_lock",
6407
+ "type": "core::option::Option::<core::integer::u64>",
6408
+ "kind": "data"
6409
+ },
6410
+ {
6411
+ "name": "royalty_bps",
6412
+ "type": "core::integer::u256",
6413
+ "kind": "data"
6414
+ },
6291
6415
  {
6292
6416
  "name": "timestamp",
6293
6417
  "type": "core::integer::u64",
@@ -6399,8 +6523,26 @@ var IPClubABI = [
6399
6523
  var IPClubNFTABI = [
6400
6524
  {
6401
6525
  "type": "impl",
6402
- "name": "IIPClubNFTImpl",
6403
- "interface_name": "ip_club::interfaces::IIPClubNFT::IIPClubNFT"
6526
+ "name": "ERC721MetadataImpl",
6527
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721Metadata"
6528
+ },
6529
+ {
6530
+ "type": "struct",
6531
+ "name": "core::byte_array::ByteArray",
6532
+ "members": [
6533
+ {
6534
+ "name": "data",
6535
+ "type": "core::array::Array::<core::bytes_31::bytes31>"
6536
+ },
6537
+ {
6538
+ "name": "pending_word",
6539
+ "type": "core::felt252"
6540
+ },
6541
+ {
6542
+ "name": "pending_word_len",
6543
+ "type": "core::internal::bounded_int::BoundedInt::<0, 30>"
6544
+ }
6545
+ ]
6404
6546
  },
6405
6547
  {
6406
6548
  "type": "struct",
@@ -6416,6 +6558,82 @@ var IPClubNFTABI = [
6416
6558
  }
6417
6559
  ]
6418
6560
  },
6561
+ {
6562
+ "type": "interface",
6563
+ "name": "openzeppelin_token::erc721::interface::IERC721Metadata",
6564
+ "items": [
6565
+ {
6566
+ "type": "function",
6567
+ "name": "name",
6568
+ "inputs": [],
6569
+ "outputs": [
6570
+ {
6571
+ "type": "core::byte_array::ByteArray"
6572
+ }
6573
+ ],
6574
+ "state_mutability": "view"
6575
+ },
6576
+ {
6577
+ "type": "function",
6578
+ "name": "symbol",
6579
+ "inputs": [],
6580
+ "outputs": [
6581
+ {
6582
+ "type": "core::byte_array::ByteArray"
6583
+ }
6584
+ ],
6585
+ "state_mutability": "view"
6586
+ },
6587
+ {
6588
+ "type": "function",
6589
+ "name": "token_uri",
6590
+ "inputs": [
6591
+ {
6592
+ "name": "token_id",
6593
+ "type": "core::integer::u256"
6594
+ }
6595
+ ],
6596
+ "outputs": [
6597
+ {
6598
+ "type": "core::byte_array::ByteArray"
6599
+ }
6600
+ ],
6601
+ "state_mutability": "view"
6602
+ }
6603
+ ]
6604
+ },
6605
+ {
6606
+ "type": "impl",
6607
+ "name": "ERC721MetadataCamelOnlyImpl",
6608
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly"
6609
+ },
6610
+ {
6611
+ "type": "interface",
6612
+ "name": "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly",
6613
+ "items": [
6614
+ {
6615
+ "type": "function",
6616
+ "name": "tokenURI",
6617
+ "inputs": [
6618
+ {
6619
+ "name": "tokenId",
6620
+ "type": "core::integer::u256"
6621
+ }
6622
+ ],
6623
+ "outputs": [
6624
+ {
6625
+ "type": "core::byte_array::ByteArray"
6626
+ }
6627
+ ],
6628
+ "state_mutability": "view"
6629
+ }
6630
+ ]
6631
+ },
6632
+ {
6633
+ "type": "impl",
6634
+ "name": "IIPClubNFTImpl",
6635
+ "interface_name": "ip_club::interfaces::IIPClubNFT::IIPClubNFT"
6636
+ },
6419
6637
  {
6420
6638
  "type": "enum",
6421
6639
  "name": "core::bool",
@@ -6521,49 +6739,82 @@ var IPClubNFTABI = [
6521
6739
  }
6522
6740
  ],
6523
6741
  "state_mutability": "view"
6524
- }
6525
- ]
6526
- },
6527
- {
6528
- "type": "impl",
6529
- "name": "ERC721MixinImpl",
6530
- "interface_name": "openzeppelin_token::erc721::interface::ERC721ABI"
6531
- },
6532
- {
6533
- "type": "struct",
6534
- "name": "core::array::Span::<core::felt252>",
6535
- "members": [
6536
- {
6537
- "name": "snapshot",
6538
- "type": "@core::array::Array::<core::felt252>"
6539
- }
6540
- ]
6541
- },
6542
- {
6543
- "type": "struct",
6544
- "name": "core::byte_array::ByteArray",
6545
- "members": [
6546
- {
6547
- "name": "data",
6548
- "type": "core::array::Array::<core::bytes_31::bytes31>"
6549
6742
  },
6550
- {
6551
- "name": "pending_word",
6552
- "type": "core::felt252"
6553
- },
6554
- {
6555
- "name": "pending_word_len",
6556
- "type": "core::internal::bounded_int::BoundedInt::<0, 30>"
6557
- }
6558
- ]
6559
- },
6560
- {
6561
- "type": "interface",
6562
- "name": "openzeppelin_token::erc721::interface::ERC721ABI",
6563
- "items": [
6564
6743
  {
6565
6744
  "type": "function",
6566
- "name": "balance_of",
6745
+ "name": "royalty_info",
6746
+ "inputs": [
6747
+ {
6748
+ "name": "token_id",
6749
+ "type": "core::integer::u256"
6750
+ },
6751
+ {
6752
+ "name": "sale_price",
6753
+ "type": "core::integer::u256"
6754
+ }
6755
+ ],
6756
+ "outputs": [
6757
+ {
6758
+ "type": "(core::starknet::contract_address::ContractAddress, core::integer::u256)"
6759
+ }
6760
+ ],
6761
+ "state_mutability": "view"
6762
+ },
6763
+ {
6764
+ "type": "function",
6765
+ "name": "royaltyInfo",
6766
+ "inputs": [
6767
+ {
6768
+ "name": "token_id",
6769
+ "type": "core::integer::u256"
6770
+ },
6771
+ {
6772
+ "name": "sale_price",
6773
+ "type": "core::integer::u256"
6774
+ }
6775
+ ],
6776
+ "outputs": [
6777
+ {
6778
+ "type": "(core::starknet::contract_address::ContractAddress, core::integer::u256)"
6779
+ }
6780
+ ],
6781
+ "state_mutability": "view"
6782
+ },
6783
+ {
6784
+ "type": "function",
6785
+ "name": "version",
6786
+ "inputs": [],
6787
+ "outputs": [
6788
+ {
6789
+ "type": "core::byte_array::ByteArray"
6790
+ }
6791
+ ],
6792
+ "state_mutability": "view"
6793
+ }
6794
+ ]
6795
+ },
6796
+ {
6797
+ "type": "impl",
6798
+ "name": "ERC721Impl",
6799
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721"
6800
+ },
6801
+ {
6802
+ "type": "struct",
6803
+ "name": "core::array::Span::<core::felt252>",
6804
+ "members": [
6805
+ {
6806
+ "name": "snapshot",
6807
+ "type": "@core::array::Array::<core::felt252>"
6808
+ }
6809
+ ]
6810
+ },
6811
+ {
6812
+ "type": "interface",
6813
+ "name": "openzeppelin_token::erc721::interface::IERC721",
6814
+ "items": [
6815
+ {
6816
+ "type": "function",
6817
+ "name": "balance_of",
6567
6818
  "inputs": [
6568
6819
  {
6569
6820
  "name": "account",
@@ -6704,61 +6955,18 @@ var IPClubNFTABI = [
6704
6955
  }
6705
6956
  ],
6706
6957
  "state_mutability": "view"
6707
- },
6708
- {
6709
- "type": "function",
6710
- "name": "supports_interface",
6711
- "inputs": [
6712
- {
6713
- "name": "interface_id",
6714
- "type": "core::felt252"
6715
- }
6716
- ],
6717
- "outputs": [
6718
- {
6719
- "type": "core::bool"
6720
- }
6721
- ],
6722
- "state_mutability": "view"
6723
- },
6724
- {
6725
- "type": "function",
6726
- "name": "name",
6727
- "inputs": [],
6728
- "outputs": [
6729
- {
6730
- "type": "core::byte_array::ByteArray"
6731
- }
6732
- ],
6733
- "state_mutability": "view"
6734
- },
6735
- {
6736
- "type": "function",
6737
- "name": "symbol",
6738
- "inputs": [],
6739
- "outputs": [
6740
- {
6741
- "type": "core::byte_array::ByteArray"
6742
- }
6743
- ],
6744
- "state_mutability": "view"
6745
- },
6746
- {
6747
- "type": "function",
6748
- "name": "token_uri",
6749
- "inputs": [
6750
- {
6751
- "name": "token_id",
6752
- "type": "core::integer::u256"
6753
- }
6754
- ],
6755
- "outputs": [
6756
- {
6757
- "type": "core::byte_array::ByteArray"
6758
- }
6759
- ],
6760
- "state_mutability": "view"
6761
- },
6958
+ }
6959
+ ]
6960
+ },
6961
+ {
6962
+ "type": "impl",
6963
+ "name": "ERC721CamelOnly",
6964
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721CamelOnly"
6965
+ },
6966
+ {
6967
+ "type": "interface",
6968
+ "name": "openzeppelin_token::erc721::interface::IERC721CamelOnly",
6969
+ "items": [
6762
6970
  {
6763
6971
  "type": "function",
6764
6972
  "name": "balanceOf",
@@ -6886,25 +7094,50 @@ var IPClubNFTABI = [
6886
7094
  }
6887
7095
  ],
6888
7096
  "state_mutability": "view"
6889
- },
7097
+ }
7098
+ ]
7099
+ },
7100
+ {
7101
+ "type": "impl",
7102
+ "name": "SRC5Impl",
7103
+ "interface_name": "openzeppelin_introspection::interface::ISRC5"
7104
+ },
7105
+ {
7106
+ "type": "interface",
7107
+ "name": "openzeppelin_introspection::interface::ISRC5",
7108
+ "items": [
6890
7109
  {
6891
7110
  "type": "function",
6892
- "name": "tokenURI",
7111
+ "name": "supports_interface",
6893
7112
  "inputs": [
6894
7113
  {
6895
- "name": "tokenId",
6896
- "type": "core::integer::u256"
7114
+ "name": "interface_id",
7115
+ "type": "core::felt252"
6897
7116
  }
6898
7117
  ],
6899
7118
  "outputs": [
6900
7119
  {
6901
- "type": "core::byte_array::ByteArray"
7120
+ "type": "core::bool"
6902
7121
  }
6903
7122
  ],
6904
7123
  "state_mutability": "view"
6905
7124
  }
6906
7125
  ]
6907
7126
  },
7127
+ {
7128
+ "type": "enum",
7129
+ "name": "core::option::Option::<core::integer::u64>",
7130
+ "variants": [
7131
+ {
7132
+ "name": "Some",
7133
+ "type": "core::integer::u64"
7134
+ },
7135
+ {
7136
+ "name": "None",
7137
+ "type": "()"
7138
+ }
7139
+ ]
7140
+ },
6908
7141
  {
6909
7142
  "type": "constructor",
6910
7143
  "name": "constructor",
@@ -6932,6 +7165,14 @@ var IPClubNFTABI = [
6932
7165
  {
6933
7166
  "name": "metadata_uri",
6934
7167
  "type": "core::byte_array::ByteArray"
7168
+ },
7169
+ {
7170
+ "name": "transfer_lock",
7171
+ "type": "core::option::Option::<core::integer::u64>"
7172
+ },
7173
+ {
7174
+ "name": "royalty_bps",
7175
+ "type": "core::integer::u256"
6935
7176
  }
6936
7177
  ]
6937
7178
  },
@@ -7158,31 +7399,27 @@ var IPSponsorshipABI = [
7158
7399
  {
7159
7400
  "name": "open",
7160
7401
  "type": "core::bool"
7402
+ },
7403
+ {
7404
+ "name": "royalty_bps",
7405
+ "type": "core::integer::u256"
7161
7406
  }
7162
7407
  ]
7163
7408
  },
7164
7409
  {
7165
7410
  "type": "struct",
7166
- "name": "ip_sponsorship::types::License",
7411
+ "name": "ip_sponsorship::types::LicenseData",
7167
7412
  "members": [
7168
7413
  {
7169
7414
  "name": "author",
7170
7415
  "type": "core::starknet::contract_address::ContractAddress"
7171
7416
  },
7172
7417
  {
7173
- "name": "sponsor",
7174
- "type": "core::starknet::contract_address::ContractAddress"
7175
- },
7176
- {
7177
- "name": "nft_contract",
7418
+ "name": "asset_contract",
7178
7419
  "type": "core::starknet::contract_address::ContractAddress"
7179
7420
  },
7180
7421
  {
7181
- "name": "token_id",
7182
- "type": "core::integer::u256"
7183
- },
7184
- {
7185
- "name": "amount_paid",
7422
+ "name": "asset_token_id",
7186
7423
  "type": "core::integer::u256"
7187
7424
  },
7188
7425
  {
@@ -7193,6 +7430,10 @@ var IPSponsorshipABI = [
7193
7430
  "name": "transferable",
7194
7431
  "type": "core::bool"
7195
7432
  },
7433
+ {
7434
+ "name": "royalty_bps",
7435
+ "type": "core::integer::u256"
7436
+ },
7196
7437
  {
7197
7438
  "name": "license_terms_uri",
7198
7439
  "type": "core::byte_array::ByteArray"
@@ -7235,6 +7476,10 @@ var IPSponsorshipABI = [
7235
7476
  "name": "transferable",
7236
7477
  "type": "core::bool"
7237
7478
  },
7479
+ {
7480
+ "name": "royalty_bps",
7481
+ "type": "core::integer::u256"
7482
+ },
7238
7483
  {
7239
7484
  "name": "specific_sponsor",
7240
7485
  "type": "core::option::Option::<core::starknet::contract_address::ContractAddress>"
@@ -7311,22 +7556,6 @@ var IPSponsorshipABI = [
7311
7556
  ],
7312
7557
  "state_mutability": "external"
7313
7558
  },
7314
- {
7315
- "type": "function",
7316
- "name": "transfer_license",
7317
- "inputs": [
7318
- {
7319
- "name": "license_id",
7320
- "type": "core::integer::u256"
7321
- },
7322
- {
7323
- "name": "to",
7324
- "type": "core::starknet::contract_address::ContractAddress"
7325
- }
7326
- ],
7327
- "outputs": [],
7328
- "state_mutability": "external"
7329
- },
7330
7559
  {
7331
7560
  "type": "function",
7332
7561
  "name": "get_offer",
@@ -7374,7 +7603,7 @@ var IPSponsorshipABI = [
7374
7603
  ],
7375
7604
  "outputs": [
7376
7605
  {
7377
- "type": "ip_sponsorship::types::License"
7606
+ "type": "ip_sponsorship::types::LicenseData"
7378
7607
  }
7379
7608
  ],
7380
7609
  "state_mutability": "view"
@@ -7416,6 +7645,28 @@ var IPSponsorshipABI = [
7416
7645
  }
7417
7646
  ],
7418
7647
  "state_mutability": "view"
7648
+ },
7649
+ {
7650
+ "type": "function",
7651
+ "name": "get_license_contract",
7652
+ "inputs": [],
7653
+ "outputs": [
7654
+ {
7655
+ "type": "core::starknet::contract_address::ContractAddress"
7656
+ }
7657
+ ],
7658
+ "state_mutability": "view"
7659
+ },
7660
+ {
7661
+ "type": "function",
7662
+ "name": "version",
7663
+ "inputs": [],
7664
+ "outputs": [
7665
+ {
7666
+ "type": "core::byte_array::ByteArray"
7667
+ }
7668
+ ],
7669
+ "state_mutability": "view"
7419
7670
  }
7420
7671
  ]
7421
7672
  },
@@ -7449,7 +7700,12 @@ var IPSponsorshipABI = [
7449
7700
  {
7450
7701
  "type": "constructor",
7451
7702
  "name": "constructor",
7452
- "inputs": []
7703
+ "inputs": [
7704
+ {
7705
+ "name": "license_contract",
7706
+ "type": "core::starknet::contract_address::ContractAddress"
7707
+ }
7708
+ ]
7453
7709
  },
7454
7710
  {
7455
7711
  "type": "event",
@@ -7507,6 +7763,11 @@ var IPSponsorshipABI = [
7507
7763
  "type": "core::bool",
7508
7764
  "kind": "data"
7509
7765
  },
7766
+ {
7767
+ "name": "royalty_bps",
7768
+ "type": "core::integer::u256",
7769
+ "kind": "data"
7770
+ },
7510
7771
  {
7511
7772
  "name": "specific_sponsor",
7512
7773
  "type": "core::option::Option::<core::starknet::contract_address::ContractAddress>",
@@ -7629,14 +7890,699 @@ var IPSponsorshipABI = [
7629
7890
  },
7630
7891
  {
7631
7892
  "type": "event",
7632
- "name": "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred",
7633
- "kind": "struct",
7634
- "members": [
7635
- {
7636
- "name": "license_id",
7637
- "type": "core::integer::u256",
7638
- "kind": "key"
7639
- },
7893
+ "name": "ip_sponsorship::IPSponsorship::IPSponsorship::Event",
7894
+ "kind": "enum",
7895
+ "variants": [
7896
+ {
7897
+ "name": "SRC5Event",
7898
+ "type": "openzeppelin_introspection::src5::SRC5Component::Event",
7899
+ "kind": "flat"
7900
+ },
7901
+ {
7902
+ "name": "OfferCreated",
7903
+ "type": "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated",
7904
+ "kind": "nested"
7905
+ },
7906
+ {
7907
+ "name": "OfferStatusUpdated",
7908
+ "type": "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated",
7909
+ "kind": "nested"
7910
+ },
7911
+ {
7912
+ "name": "BidPlaced",
7913
+ "type": "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced",
7914
+ "kind": "nested"
7915
+ },
7916
+ {
7917
+ "name": "BidRetracted",
7918
+ "type": "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted",
7919
+ "kind": "nested"
7920
+ },
7921
+ {
7922
+ "name": "SponsorshipAccepted",
7923
+ "type": "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted",
7924
+ "kind": "nested"
7925
+ }
7926
+ ]
7927
+ }
7928
+ ];
7929
+
7930
+ // src/abis/ipSponsorshipLicense.ts
7931
+ var IPSponsorshipLicenseABI = [
7932
+ {
7933
+ "type": "impl",
7934
+ "name": "ERC721MetadataImpl",
7935
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721Metadata"
7936
+ },
7937
+ {
7938
+ "type": "struct",
7939
+ "name": "core::byte_array::ByteArray",
7940
+ "members": [
7941
+ {
7942
+ "name": "data",
7943
+ "type": "core::array::Array::<core::bytes_31::bytes31>"
7944
+ },
7945
+ {
7946
+ "name": "pending_word",
7947
+ "type": "core::felt252"
7948
+ },
7949
+ {
7950
+ "name": "pending_word_len",
7951
+ "type": "core::internal::bounded_int::BoundedInt::<0, 30>"
7952
+ }
7953
+ ]
7954
+ },
7955
+ {
7956
+ "type": "struct",
7957
+ "name": "core::integer::u256",
7958
+ "members": [
7959
+ {
7960
+ "name": "low",
7961
+ "type": "core::integer::u128"
7962
+ },
7963
+ {
7964
+ "name": "high",
7965
+ "type": "core::integer::u128"
7966
+ }
7967
+ ]
7968
+ },
7969
+ {
7970
+ "type": "interface",
7971
+ "name": "openzeppelin_token::erc721::interface::IERC721Metadata",
7972
+ "items": [
7973
+ {
7974
+ "type": "function",
7975
+ "name": "name",
7976
+ "inputs": [],
7977
+ "outputs": [
7978
+ {
7979
+ "type": "core::byte_array::ByteArray"
7980
+ }
7981
+ ],
7982
+ "state_mutability": "view"
7983
+ },
7984
+ {
7985
+ "type": "function",
7986
+ "name": "symbol",
7987
+ "inputs": [],
7988
+ "outputs": [
7989
+ {
7990
+ "type": "core::byte_array::ByteArray"
7991
+ }
7992
+ ],
7993
+ "state_mutability": "view"
7994
+ },
7995
+ {
7996
+ "type": "function",
7997
+ "name": "token_uri",
7998
+ "inputs": [
7999
+ {
8000
+ "name": "token_id",
8001
+ "type": "core::integer::u256"
8002
+ }
8003
+ ],
8004
+ "outputs": [
8005
+ {
8006
+ "type": "core::byte_array::ByteArray"
8007
+ }
8008
+ ],
8009
+ "state_mutability": "view"
8010
+ }
8011
+ ]
8012
+ },
8013
+ {
8014
+ "type": "impl",
8015
+ "name": "ERC721MetadataCamelOnlyImpl",
8016
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly"
8017
+ },
8018
+ {
8019
+ "type": "interface",
8020
+ "name": "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly",
8021
+ "items": [
8022
+ {
8023
+ "type": "function",
8024
+ "name": "tokenURI",
8025
+ "inputs": [
8026
+ {
8027
+ "name": "tokenId",
8028
+ "type": "core::integer::u256"
8029
+ }
8030
+ ],
8031
+ "outputs": [
8032
+ {
8033
+ "type": "core::byte_array::ByteArray"
8034
+ }
8035
+ ],
8036
+ "state_mutability": "view"
8037
+ }
8038
+ ]
8039
+ },
8040
+ {
8041
+ "type": "impl",
8042
+ "name": "IPSponsorshipLicenseImpl",
8043
+ "interface_name": "ip_sponsorship::interface::IIPSponsorshipLicense"
8044
+ },
8045
+ {
8046
+ "type": "enum",
8047
+ "name": "core::bool",
8048
+ "variants": [
8049
+ {
8050
+ "name": "False",
8051
+ "type": "()"
8052
+ },
8053
+ {
8054
+ "name": "True",
8055
+ "type": "()"
8056
+ }
8057
+ ]
8058
+ },
8059
+ {
8060
+ "type": "struct",
8061
+ "name": "ip_sponsorship::types::LicenseData",
8062
+ "members": [
8063
+ {
8064
+ "name": "author",
8065
+ "type": "core::starknet::contract_address::ContractAddress"
8066
+ },
8067
+ {
8068
+ "name": "asset_contract",
8069
+ "type": "core::starknet::contract_address::ContractAddress"
8070
+ },
8071
+ {
8072
+ "name": "asset_token_id",
8073
+ "type": "core::integer::u256"
8074
+ },
8075
+ {
8076
+ "name": "expires_at",
8077
+ "type": "core::integer::u64"
8078
+ },
8079
+ {
8080
+ "name": "transferable",
8081
+ "type": "core::bool"
8082
+ },
8083
+ {
8084
+ "name": "royalty_bps",
8085
+ "type": "core::integer::u256"
8086
+ },
8087
+ {
8088
+ "name": "license_terms_uri",
8089
+ "type": "core::byte_array::ByteArray"
8090
+ }
8091
+ ]
8092
+ },
8093
+ {
8094
+ "type": "interface",
8095
+ "name": "ip_sponsorship::interface::IIPSponsorshipLicense",
8096
+ "items": [
8097
+ {
8098
+ "type": "function",
8099
+ "name": "set_minter",
8100
+ "inputs": [
8101
+ {
8102
+ "name": "minter",
8103
+ "type": "core::starknet::contract_address::ContractAddress"
8104
+ }
8105
+ ],
8106
+ "outputs": [],
8107
+ "state_mutability": "external"
8108
+ },
8109
+ {
8110
+ "type": "function",
8111
+ "name": "get_minter",
8112
+ "inputs": [],
8113
+ "outputs": [
8114
+ {
8115
+ "type": "core::starknet::contract_address::ContractAddress"
8116
+ }
8117
+ ],
8118
+ "state_mutability": "view"
8119
+ },
8120
+ {
8121
+ "type": "function",
8122
+ "name": "mint",
8123
+ "inputs": [
8124
+ {
8125
+ "name": "recipient",
8126
+ "type": "core::starknet::contract_address::ContractAddress"
8127
+ },
8128
+ {
8129
+ "name": "data",
8130
+ "type": "ip_sponsorship::types::LicenseData"
8131
+ }
8132
+ ],
8133
+ "outputs": [
8134
+ {
8135
+ "type": "core::integer::u256"
8136
+ }
8137
+ ],
8138
+ "state_mutability": "external"
8139
+ },
8140
+ {
8141
+ "type": "function",
8142
+ "name": "get_license_data",
8143
+ "inputs": [
8144
+ {
8145
+ "name": "token_id",
8146
+ "type": "core::integer::u256"
8147
+ }
8148
+ ],
8149
+ "outputs": [
8150
+ {
8151
+ "type": "ip_sponsorship::types::LicenseData"
8152
+ }
8153
+ ],
8154
+ "state_mutability": "view"
8155
+ },
8156
+ {
8157
+ "type": "function",
8158
+ "name": "is_license_valid",
8159
+ "inputs": [
8160
+ {
8161
+ "name": "token_id",
8162
+ "type": "core::integer::u256"
8163
+ }
8164
+ ],
8165
+ "outputs": [
8166
+ {
8167
+ "type": "core::bool"
8168
+ }
8169
+ ],
8170
+ "state_mutability": "view"
8171
+ },
8172
+ {
8173
+ "type": "function",
8174
+ "name": "last_license_id",
8175
+ "inputs": [],
8176
+ "outputs": [
8177
+ {
8178
+ "type": "core::integer::u256"
8179
+ }
8180
+ ],
8181
+ "state_mutability": "view"
8182
+ },
8183
+ {
8184
+ "type": "function",
8185
+ "name": "royalty_info",
8186
+ "inputs": [
8187
+ {
8188
+ "name": "token_id",
8189
+ "type": "core::integer::u256"
8190
+ },
8191
+ {
8192
+ "name": "sale_price",
8193
+ "type": "core::integer::u256"
8194
+ }
8195
+ ],
8196
+ "outputs": [
8197
+ {
8198
+ "type": "(core::starknet::contract_address::ContractAddress, core::integer::u256)"
8199
+ }
8200
+ ],
8201
+ "state_mutability": "view"
8202
+ },
8203
+ {
8204
+ "type": "function",
8205
+ "name": "royaltyInfo",
8206
+ "inputs": [
8207
+ {
8208
+ "name": "token_id",
8209
+ "type": "core::integer::u256"
8210
+ },
8211
+ {
8212
+ "name": "sale_price",
8213
+ "type": "core::integer::u256"
8214
+ }
8215
+ ],
8216
+ "outputs": [
8217
+ {
8218
+ "type": "(core::starknet::contract_address::ContractAddress, core::integer::u256)"
8219
+ }
8220
+ ],
8221
+ "state_mutability": "view"
8222
+ },
8223
+ {
8224
+ "type": "function",
8225
+ "name": "version",
8226
+ "inputs": [],
8227
+ "outputs": [
8228
+ {
8229
+ "type": "core::byte_array::ByteArray"
8230
+ }
8231
+ ],
8232
+ "state_mutability": "view"
8233
+ }
8234
+ ]
8235
+ },
8236
+ {
8237
+ "type": "impl",
8238
+ "name": "ERC721Impl",
8239
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721"
8240
+ },
8241
+ {
8242
+ "type": "struct",
8243
+ "name": "core::array::Span::<core::felt252>",
8244
+ "members": [
8245
+ {
8246
+ "name": "snapshot",
8247
+ "type": "@core::array::Array::<core::felt252>"
8248
+ }
8249
+ ]
8250
+ },
8251
+ {
8252
+ "type": "interface",
8253
+ "name": "openzeppelin_token::erc721::interface::IERC721",
8254
+ "items": [
8255
+ {
8256
+ "type": "function",
8257
+ "name": "balance_of",
8258
+ "inputs": [
8259
+ {
8260
+ "name": "account",
8261
+ "type": "core::starknet::contract_address::ContractAddress"
8262
+ }
8263
+ ],
8264
+ "outputs": [
8265
+ {
8266
+ "type": "core::integer::u256"
8267
+ }
8268
+ ],
8269
+ "state_mutability": "view"
8270
+ },
8271
+ {
8272
+ "type": "function",
8273
+ "name": "owner_of",
8274
+ "inputs": [
8275
+ {
8276
+ "name": "token_id",
8277
+ "type": "core::integer::u256"
8278
+ }
8279
+ ],
8280
+ "outputs": [
8281
+ {
8282
+ "type": "core::starknet::contract_address::ContractAddress"
8283
+ }
8284
+ ],
8285
+ "state_mutability": "view"
8286
+ },
8287
+ {
8288
+ "type": "function",
8289
+ "name": "safe_transfer_from",
8290
+ "inputs": [
8291
+ {
8292
+ "name": "from",
8293
+ "type": "core::starknet::contract_address::ContractAddress"
8294
+ },
8295
+ {
8296
+ "name": "to",
8297
+ "type": "core::starknet::contract_address::ContractAddress"
8298
+ },
8299
+ {
8300
+ "name": "token_id",
8301
+ "type": "core::integer::u256"
8302
+ },
8303
+ {
8304
+ "name": "data",
8305
+ "type": "core::array::Span::<core::felt252>"
8306
+ }
8307
+ ],
8308
+ "outputs": [],
8309
+ "state_mutability": "external"
8310
+ },
8311
+ {
8312
+ "type": "function",
8313
+ "name": "transfer_from",
8314
+ "inputs": [
8315
+ {
8316
+ "name": "from",
8317
+ "type": "core::starknet::contract_address::ContractAddress"
8318
+ },
8319
+ {
8320
+ "name": "to",
8321
+ "type": "core::starknet::contract_address::ContractAddress"
8322
+ },
8323
+ {
8324
+ "name": "token_id",
8325
+ "type": "core::integer::u256"
8326
+ }
8327
+ ],
8328
+ "outputs": [],
8329
+ "state_mutability": "external"
8330
+ },
8331
+ {
8332
+ "type": "function",
8333
+ "name": "approve",
8334
+ "inputs": [
8335
+ {
8336
+ "name": "to",
8337
+ "type": "core::starknet::contract_address::ContractAddress"
8338
+ },
8339
+ {
8340
+ "name": "token_id",
8341
+ "type": "core::integer::u256"
8342
+ }
8343
+ ],
8344
+ "outputs": [],
8345
+ "state_mutability": "external"
8346
+ },
8347
+ {
8348
+ "type": "function",
8349
+ "name": "set_approval_for_all",
8350
+ "inputs": [
8351
+ {
8352
+ "name": "operator",
8353
+ "type": "core::starknet::contract_address::ContractAddress"
8354
+ },
8355
+ {
8356
+ "name": "approved",
8357
+ "type": "core::bool"
8358
+ }
8359
+ ],
8360
+ "outputs": [],
8361
+ "state_mutability": "external"
8362
+ },
8363
+ {
8364
+ "type": "function",
8365
+ "name": "get_approved",
8366
+ "inputs": [
8367
+ {
8368
+ "name": "token_id",
8369
+ "type": "core::integer::u256"
8370
+ }
8371
+ ],
8372
+ "outputs": [
8373
+ {
8374
+ "type": "core::starknet::contract_address::ContractAddress"
8375
+ }
8376
+ ],
8377
+ "state_mutability": "view"
8378
+ },
8379
+ {
8380
+ "type": "function",
8381
+ "name": "is_approved_for_all",
8382
+ "inputs": [
8383
+ {
8384
+ "name": "owner",
8385
+ "type": "core::starknet::contract_address::ContractAddress"
8386
+ },
8387
+ {
8388
+ "name": "operator",
8389
+ "type": "core::starknet::contract_address::ContractAddress"
8390
+ }
8391
+ ],
8392
+ "outputs": [
8393
+ {
8394
+ "type": "core::bool"
8395
+ }
8396
+ ],
8397
+ "state_mutability": "view"
8398
+ }
8399
+ ]
8400
+ },
8401
+ {
8402
+ "type": "impl",
8403
+ "name": "ERC721CamelOnly",
8404
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721CamelOnly"
8405
+ },
8406
+ {
8407
+ "type": "interface",
8408
+ "name": "openzeppelin_token::erc721::interface::IERC721CamelOnly",
8409
+ "items": [
8410
+ {
8411
+ "type": "function",
8412
+ "name": "balanceOf",
8413
+ "inputs": [
8414
+ {
8415
+ "name": "account",
8416
+ "type": "core::starknet::contract_address::ContractAddress"
8417
+ }
8418
+ ],
8419
+ "outputs": [
8420
+ {
8421
+ "type": "core::integer::u256"
8422
+ }
8423
+ ],
8424
+ "state_mutability": "view"
8425
+ },
8426
+ {
8427
+ "type": "function",
8428
+ "name": "ownerOf",
8429
+ "inputs": [
8430
+ {
8431
+ "name": "tokenId",
8432
+ "type": "core::integer::u256"
8433
+ }
8434
+ ],
8435
+ "outputs": [
8436
+ {
8437
+ "type": "core::starknet::contract_address::ContractAddress"
8438
+ }
8439
+ ],
8440
+ "state_mutability": "view"
8441
+ },
8442
+ {
8443
+ "type": "function",
8444
+ "name": "safeTransferFrom",
8445
+ "inputs": [
8446
+ {
8447
+ "name": "from",
8448
+ "type": "core::starknet::contract_address::ContractAddress"
8449
+ },
8450
+ {
8451
+ "name": "to",
8452
+ "type": "core::starknet::contract_address::ContractAddress"
8453
+ },
8454
+ {
8455
+ "name": "tokenId",
8456
+ "type": "core::integer::u256"
8457
+ },
8458
+ {
8459
+ "name": "data",
8460
+ "type": "core::array::Span::<core::felt252>"
8461
+ }
8462
+ ],
8463
+ "outputs": [],
8464
+ "state_mutability": "external"
8465
+ },
8466
+ {
8467
+ "type": "function",
8468
+ "name": "transferFrom",
8469
+ "inputs": [
8470
+ {
8471
+ "name": "from",
8472
+ "type": "core::starknet::contract_address::ContractAddress"
8473
+ },
8474
+ {
8475
+ "name": "to",
8476
+ "type": "core::starknet::contract_address::ContractAddress"
8477
+ },
8478
+ {
8479
+ "name": "tokenId",
8480
+ "type": "core::integer::u256"
8481
+ }
8482
+ ],
8483
+ "outputs": [],
8484
+ "state_mutability": "external"
8485
+ },
8486
+ {
8487
+ "type": "function",
8488
+ "name": "setApprovalForAll",
8489
+ "inputs": [
8490
+ {
8491
+ "name": "operator",
8492
+ "type": "core::starknet::contract_address::ContractAddress"
8493
+ },
8494
+ {
8495
+ "name": "approved",
8496
+ "type": "core::bool"
8497
+ }
8498
+ ],
8499
+ "outputs": [],
8500
+ "state_mutability": "external"
8501
+ },
8502
+ {
8503
+ "type": "function",
8504
+ "name": "getApproved",
8505
+ "inputs": [
8506
+ {
8507
+ "name": "tokenId",
8508
+ "type": "core::integer::u256"
8509
+ }
8510
+ ],
8511
+ "outputs": [
8512
+ {
8513
+ "type": "core::starknet::contract_address::ContractAddress"
8514
+ }
8515
+ ],
8516
+ "state_mutability": "view"
8517
+ },
8518
+ {
8519
+ "type": "function",
8520
+ "name": "isApprovedForAll",
8521
+ "inputs": [
8522
+ {
8523
+ "name": "owner",
8524
+ "type": "core::starknet::contract_address::ContractAddress"
8525
+ },
8526
+ {
8527
+ "name": "operator",
8528
+ "type": "core::starknet::contract_address::ContractAddress"
8529
+ }
8530
+ ],
8531
+ "outputs": [
8532
+ {
8533
+ "type": "core::bool"
8534
+ }
8535
+ ],
8536
+ "state_mutability": "view"
8537
+ }
8538
+ ]
8539
+ },
8540
+ {
8541
+ "type": "impl",
8542
+ "name": "SRC5Impl",
8543
+ "interface_name": "openzeppelin_introspection::interface::ISRC5"
8544
+ },
8545
+ {
8546
+ "type": "interface",
8547
+ "name": "openzeppelin_introspection::interface::ISRC5",
8548
+ "items": [
8549
+ {
8550
+ "type": "function",
8551
+ "name": "supports_interface",
8552
+ "inputs": [
8553
+ {
8554
+ "name": "interface_id",
8555
+ "type": "core::felt252"
8556
+ }
8557
+ ],
8558
+ "outputs": [
8559
+ {
8560
+ "type": "core::bool"
8561
+ }
8562
+ ],
8563
+ "state_mutability": "view"
8564
+ }
8565
+ ]
8566
+ },
8567
+ {
8568
+ "type": "constructor",
8569
+ "name": "constructor",
8570
+ "inputs": [
8571
+ {
8572
+ "name": "name",
8573
+ "type": "core::byte_array::ByteArray"
8574
+ },
8575
+ {
8576
+ "name": "symbol",
8577
+ "type": "core::byte_array::ByteArray"
8578
+ }
8579
+ ]
8580
+ },
8581
+ {
8582
+ "type": "event",
8583
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Transfer",
8584
+ "kind": "struct",
8585
+ "members": [
7640
8586
  {
7641
8587
  "name": "from",
7642
8588
  "type": "core::starknet::contract_address::ContractAddress",
@@ -7648,50 +8594,159 @@ var IPSponsorshipABI = [
7648
8594
  "kind": "key"
7649
8595
  },
7650
8596
  {
7651
- "name": "transferred_at",
7652
- "type": "core::integer::u64",
8597
+ "name": "token_id",
8598
+ "type": "core::integer::u256",
8599
+ "kind": "key"
8600
+ }
8601
+ ]
8602
+ },
8603
+ {
8604
+ "type": "event",
8605
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Approval",
8606
+ "kind": "struct",
8607
+ "members": [
8608
+ {
8609
+ "name": "owner",
8610
+ "type": "core::starknet::contract_address::ContractAddress",
8611
+ "kind": "key"
8612
+ },
8613
+ {
8614
+ "name": "approved",
8615
+ "type": "core::starknet::contract_address::ContractAddress",
8616
+ "kind": "key"
8617
+ },
8618
+ {
8619
+ "name": "token_id",
8620
+ "type": "core::integer::u256",
8621
+ "kind": "key"
8622
+ }
8623
+ ]
8624
+ },
8625
+ {
8626
+ "type": "event",
8627
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll",
8628
+ "kind": "struct",
8629
+ "members": [
8630
+ {
8631
+ "name": "owner",
8632
+ "type": "core::starknet::contract_address::ContractAddress",
8633
+ "kind": "key"
8634
+ },
8635
+ {
8636
+ "name": "operator",
8637
+ "type": "core::starknet::contract_address::ContractAddress",
8638
+ "kind": "key"
8639
+ },
8640
+ {
8641
+ "name": "approved",
8642
+ "type": "core::bool",
7653
8643
  "kind": "data"
7654
8644
  }
7655
8645
  ]
7656
8646
  },
7657
8647
  {
7658
8648
  "type": "event",
7659
- "name": "ip_sponsorship::IPSponsorship::IPSponsorship::Event",
8649
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Event",
7660
8650
  "kind": "enum",
7661
8651
  "variants": [
7662
8652
  {
7663
- "name": "SRC5Event",
7664
- "type": "openzeppelin_introspection::src5::SRC5Component::Event",
7665
- "kind": "flat"
8653
+ "name": "Transfer",
8654
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Transfer",
8655
+ "kind": "nested"
7666
8656
  },
7667
8657
  {
7668
- "name": "OfferCreated",
7669
- "type": "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated",
8658
+ "name": "Approval",
8659
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Approval",
7670
8660
  "kind": "nested"
7671
8661
  },
7672
8662
  {
7673
- "name": "OfferStatusUpdated",
7674
- "type": "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated",
8663
+ "name": "ApprovalForAll",
8664
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll",
7675
8665
  "kind": "nested"
8666
+ }
8667
+ ]
8668
+ },
8669
+ {
8670
+ "type": "event",
8671
+ "name": "openzeppelin_introspection::src5::SRC5Component::Event",
8672
+ "kind": "enum",
8673
+ "variants": []
8674
+ },
8675
+ {
8676
+ "type": "event",
8677
+ "name": "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::LicenseMinted",
8678
+ "kind": "struct",
8679
+ "members": [
8680
+ {
8681
+ "name": "token_id",
8682
+ "type": "core::integer::u256",
8683
+ "kind": "key"
7676
8684
  },
7677
8685
  {
7678
- "name": "BidPlaced",
7679
- "type": "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced",
7680
- "kind": "nested"
8686
+ "name": "recipient",
8687
+ "type": "core::starknet::contract_address::ContractAddress",
8688
+ "kind": "key"
7681
8689
  },
7682
8690
  {
7683
- "name": "BidRetracted",
7684
- "type": "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted",
7685
- "kind": "nested"
8691
+ "name": "author",
8692
+ "type": "core::starknet::contract_address::ContractAddress",
8693
+ "kind": "key"
7686
8694
  },
7687
8695
  {
7688
- "name": "SponsorshipAccepted",
7689
- "type": "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted",
7690
- "kind": "nested"
8696
+ "name": "asset_contract",
8697
+ "type": "core::starknet::contract_address::ContractAddress",
8698
+ "kind": "data"
8699
+ },
8700
+ {
8701
+ "name": "asset_token_id",
8702
+ "type": "core::integer::u256",
8703
+ "kind": "data"
8704
+ },
8705
+ {
8706
+ "name": "expires_at",
8707
+ "type": "core::integer::u64",
8708
+ "kind": "data"
8709
+ },
8710
+ {
8711
+ "name": "transferable",
8712
+ "type": "core::bool",
8713
+ "kind": "data"
8714
+ },
8715
+ {
8716
+ "name": "royalty_bps",
8717
+ "type": "core::integer::u256",
8718
+ "kind": "data"
8719
+ },
8720
+ {
8721
+ "name": "license_terms_uri",
8722
+ "type": "core::byte_array::ByteArray",
8723
+ "kind": "data"
8724
+ },
8725
+ {
8726
+ "name": "minted_at",
8727
+ "type": "core::integer::u64",
8728
+ "kind": "data"
8729
+ }
8730
+ ]
8731
+ },
8732
+ {
8733
+ "type": "event",
8734
+ "name": "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::Event",
8735
+ "kind": "enum",
8736
+ "variants": [
8737
+ {
8738
+ "name": "ERC721Event",
8739
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Event",
8740
+ "kind": "flat"
8741
+ },
8742
+ {
8743
+ "name": "SRC5Event",
8744
+ "type": "openzeppelin_introspection::src5::SRC5Component::Event",
8745
+ "kind": "flat"
7691
8746
  },
7692
8747
  {
7693
- "name": "LicenseTransferred",
7694
- "type": "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred",
8748
+ "name": "LicenseMinted",
8749
+ "type": "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::LicenseMinted",
7695
8750
  "kind": "nested"
7696
8751
  }
7697
8752
  ]
@@ -8552,11 +9607,18 @@ var STARKNET_DROP_FACTORY_CONTRACT = SN.dropFactory;
8552
9607
  var STARKNET_DROP_COLLECTION_CLASS_HASH = SN.dropCollectionClassHash;
8553
9608
  var STARKNET_NFTCOMMENTS_CONTRACT = SN.nftComments;
8554
9609
  var STARKNET_IP_TICKETS_FACTORY_CONTRACT = SN.ipTicketsFactory;
9610
+ SN.ipTicketsFactoryClassHash;
8555
9611
  var STARKNET_IP_TICKET_COLLECTION_CLASS_HASH = SN.ipTicketCollectionClassHash;
9612
+ SN.ipTicketsStartBlock;
8556
9613
  var STARKNET_IP_CLUB_REGISTRY_CONTRACT = SN.ipClubRegistry;
9614
+ SN.ipClubRegistryClassHash;
8557
9615
  var STARKNET_IP_CLUB_NFT_CLASS_HASH = SN.ipClubNftClassHash;
9616
+ SN.ipClubStartBlock;
8558
9617
  var STARKNET_IP_SPONSORSHIP_CONTRACT = SN.ipSponsorship;
9618
+ SN.ipSponsorshipClassHash;
9619
+ SN.ipSponsorshipStartBlock;
8559
9620
  var STARKNET_IP_SPONSORSHIP_LICENSE_CONTRACT = SN.ipSponsorshipLicense;
9621
+ SN.ipSponsorshipLicenseClassHash;
8560
9622
  var STARKNET_CREATOR_COIN_FACTORY_CONTRACT = SN.creatorCoinFactory;
8561
9623
  var STARKNET_CREATOR_COIN_EKUBO_LAUNCHER = SN.creatorCoinEkuboLauncher;
8562
9624
  var STARKNET_CREATOR_COIN_CLASS_HASH = SN.creatorCoinClassHash;
@@ -11401,6 +12463,7 @@ exports.IPGenesisABI = IPGenesisABI;
11401
12463
  exports.IPMarketplaceABI = IPMarketplaceABI;
11402
12464
  exports.IPNftABI = IPNftABI;
11403
12465
  exports.IPSponsorshipABI = IPSponsorshipABI;
12466
+ exports.IPSponsorshipLicenseABI = IPSponsorshipLicenseABI;
11404
12467
  exports.IPTicketCollectionABI = IPTicketCollectionABI;
11405
12468
  exports.IPTicketCollectionFactoryABI = IPTicketCollectionFactoryABI;
11406
12469
  exports.LAUNCH_PRICE_QUOTE_PER_COIN = LAUNCH_PRICE_QUOTE_PER_COIN;