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