@medialane/sdk 0.44.0 → 0.46.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
@@ -36,7 +36,17 @@ var COORDINATES = {
36
36
  creatorCoinClassHash: "0x743e4c8a5b96bb83bbf4af04edbbb482d5ece89eed9b729a79fb7df0cd0b6b6",
37
37
  creatorCoinFactoryClassHash: "0x51765926b1344c9a20b8cd4b5abe7b7d47375ae97cf6804db3ea5d4b05a9b55",
38
38
  creatorCoinStartBlock: 10474544,
39
- ekuboCore: "0x00000005dd3d2f4429af886cd1a3b08289dbcea99a294197e9eb43b0e0325b4b"
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
+ // ipSponsorshipLicense: pending — user deploying a dedicated ip-erc721/MIP
49
+ // instance via Voyager, separate from the genesis-mint instance.
40
50
  }
41
51
  };
42
52
  function getCoordinates(chain) {
@@ -4637,6 +4647,3887 @@ var IPNftABI = [
4637
4647
  // src/abis/creatorCoinFactory.ts
4638
4648
  var CreatorCoinFactoryABI = [{ "type": "impl", "name": "FactoryImpl", "interface_name": "creator_coin::factory::interface::IFactory" }, { "type": "struct", "name": "core::integer::u256", "members": [{ "name": "low", "type": "core::integer::u128" }, { "name": "high", "type": "core::integer::u128" }] }, { "type": "struct", "name": "core::array::Span::<core::starknet::contract_address::ContractAddress>", "members": [{ "name": "snapshot", "type": "@core::array::Array::<core::starknet::contract_address::ContractAddress>" }] }, { "type": "struct", "name": "core::array::Span::<core::integer::u256>", "members": [{ "name": "snapshot", "type": "@core::array::Array::<core::integer::u256>" }] }, { "type": "struct", "name": "creator_coin::factory::LaunchParameters", "members": [{ "name": "creator_coin_address", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "transfer_restriction_delay", "type": "core::integer::u64" }, { "name": "max_percentage_buy_launch", "type": "core::integer::u16" }, { "name": "quote_address", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "initial_holders", "type": "core::array::Span::<core::starknet::contract_address::ContractAddress>" }, { "name": "initial_holders_amounts", "type": "core::array::Span::<core::integer::u256>" }] }, { "type": "enum", "name": "core::bool", "variants": [{ "name": "False", "type": "()" }, { "name": "True", "type": "()" }] }, { "type": "struct", "name": "ekubo::types::i129::i129", "members": [{ "name": "mag", "type": "core::integer::u128" }, { "name": "sign", "type": "core::bool" }] }, { "type": "struct", "name": "creator_coin::exchanges::ekubo::ekubo_adapter::EkuboPoolParameters", "members": [{ "name": "fee", "type": "core::integer::u128" }, { "name": "tick_spacing", "type": "core::integer::u128" }, { "name": "starting_price", "type": "ekubo::types::i129::i129" }, { "name": "bound", "type": "core::integer::u128" }] }, { "type": "struct", "name": "ekubo::types::keys::PoolKey", "members": [{ "name": "token0", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "token1", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "fee", "type": "core::integer::u128" }, { "name": "tick_spacing", "type": "core::integer::u128" }, { "name": "extension", "type": "core::starknet::contract_address::ContractAddress" }] }, { "type": "struct", "name": "ekubo::types::bounds::Bounds", "members": [{ "name": "lower", "type": "ekubo::types::i129::i129" }, { "name": "upper", "type": "ekubo::types::i129::i129" }] }, { "type": "struct", "name": "creator_coin::exchanges::ekubo::launcher::EkuboLP", "members": [{ "name": "owner", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "quote_address", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "pool_key", "type": "ekubo::types::keys::PoolKey" }, { "name": "bounds", "type": "ekubo::types::bounds::Bounds" }] }, { "type": "enum", "name": "creator_coin::exchanges::SupportedExchanges", "variants": [{ "name": "Jediswap", "type": "()" }, { "name": "Ekubo", "type": "()" }, { "name": "Starkdefi", "type": "()" }] }, { "type": "enum", "name": "creator_coin::token::creator_coin::LiquidityType", "variants": [{ "name": "JediERC20", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "StarkDeFiERC20", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "EkuboNFT", "type": "core::integer::u64" }] }, { "type": "enum", "name": "core::option::Option::<(core::starknet::contract_address::ContractAddress, creator_coin::token::creator_coin::LiquidityType)>", "variants": [{ "name": "Some", "type": "(core::starknet::contract_address::ContractAddress, creator_coin::token::creator_coin::LiquidityType)" }, { "name": "None", "type": "()" }] }, { "type": "interface", "name": "creator_coin::factory::interface::IFactory", "items": [{ "type": "function", "name": "create_creator_coin", "inputs": [{ "name": "owner", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "name", "type": "core::felt252" }, { "name": "symbol", "type": "core::felt252" }, { "name": "initial_supply", "type": "core::integer::u256" }, { "name": "contract_address_salt", "type": "core::felt252" }], "outputs": [{ "type": "core::starknet::contract_address::ContractAddress" }], "state_mutability": "external" }, { "type": "function", "name": "launch_on_jediswap", "inputs": [{ "name": "launch_parameters", "type": "creator_coin::factory::LaunchParameters" }, { "name": "quote_amount", "type": "core::integer::u256" }, { "name": "unlock_time", "type": "core::integer::u64" }], "outputs": [{ "type": "core::starknet::contract_address::ContractAddress" }], "state_mutability": "external" }, { "type": "function", "name": "launch_on_ekubo", "inputs": [{ "name": "launch_parameters", "type": "creator_coin::factory::LaunchParameters" }, { "name": "ekubo_parameters", "type": "creator_coin::exchanges::ekubo::ekubo_adapter::EkuboPoolParameters" }], "outputs": [{ "type": "(core::integer::u64, creator_coin::exchanges::ekubo::launcher::EkuboLP)" }], "state_mutability": "external" }, { "type": "function", "name": "launch_on_starkdefi", "inputs": [{ "name": "launch_parameters", "type": "creator_coin::factory::LaunchParameters" }, { "name": "quote_amount", "type": "core::integer::u256" }, { "name": "unlock_time", "type": "core::integer::u64" }], "outputs": [{ "type": "core::starknet::contract_address::ContractAddress" }], "state_mutability": "external" }, { "type": "function", "name": "exchange_address", "inputs": [{ "name": "exchange", "type": "creator_coin::exchanges::SupportedExchanges" }], "outputs": [{ "type": "core::starknet::contract_address::ContractAddress" }], "state_mutability": "view" }, { "type": "function", "name": "lock_manager_address", "inputs": [], "outputs": [{ "type": "core::starknet::contract_address::ContractAddress" }], "state_mutability": "view" }, { "type": "function", "name": "locked_liquidity", "inputs": [{ "name": "token", "type": "core::starknet::contract_address::ContractAddress" }], "outputs": [{ "type": "core::option::Option::<(core::starknet::contract_address::ContractAddress, creator_coin::token::creator_coin::LiquidityType)>" }], "state_mutability": "view" }, { "type": "function", "name": "is_creator_coin", "inputs": [{ "name": "address", "type": "core::starknet::contract_address::ContractAddress" }], "outputs": [{ "type": "core::bool" }], "state_mutability": "view" }, { "type": "function", "name": "ekubo_core_address", "inputs": [], "outputs": [{ "type": "core::starknet::contract_address::ContractAddress" }], "state_mutability": "view" }] }, { "type": "struct", "name": "core::array::Span::<(creator_coin::exchanges::SupportedExchanges, core::starknet::contract_address::ContractAddress)>", "members": [{ "name": "snapshot", "type": "@core::array::Array::<(creator_coin::exchanges::SupportedExchanges, core::starknet::contract_address::ContractAddress)>" }] }, { "type": "struct", "name": "core::array::Span::<(core::starknet::contract_address::ContractAddress, core::starknet::contract_address::ContractAddress)>", "members": [{ "name": "snapshot", "type": "@core::array::Array::<(core::starknet::contract_address::ContractAddress, core::starknet::contract_address::ContractAddress)>" }] }, { "type": "constructor", "name": "constructor", "inputs": [{ "name": "creator_coin_class_hash", "type": "core::starknet::class_hash::ClassHash" }, { "name": "lock_manager_address", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "exchanges", "type": "core::array::Span::<(creator_coin::exchanges::SupportedExchanges, core::starknet::contract_address::ContractAddress)>" }, { "name": "migrated_tokens", "type": "core::array::Span::<(core::starknet::contract_address::ContractAddress, core::starknet::contract_address::ContractAddress)>" }] }, { "type": "event", "name": "creator_coin::factory::factory::Factory::CreatorCoinCreated", "kind": "struct", "members": [{ "name": "owner", "type": "core::starknet::contract_address::ContractAddress", "kind": "data" }, { "name": "name", "type": "core::felt252", "kind": "data" }, { "name": "symbol", "type": "core::felt252", "kind": "data" }, { "name": "initial_supply", "type": "core::integer::u256", "kind": "data" }, { "name": "creator_coin_address", "type": "core::starknet::contract_address::ContractAddress", "kind": "data" }] }, { "type": "event", "name": "creator_coin::factory::factory::Factory::CreatorCoinLaunched", "kind": "struct", "members": [{ "name": "creator_coin_address", "type": "core::starknet::contract_address::ContractAddress", "kind": "data" }, { "name": "quote_token", "type": "core::starknet::contract_address::ContractAddress", "kind": "data" }, { "name": "exchange_name", "type": "core::felt252", "kind": "data" }] }, { "type": "event", "name": "creator_coin::factory::factory::Factory::Event", "kind": "enum", "variants": [{ "name": "CreatorCoinCreated", "type": "creator_coin::factory::factory::Factory::CreatorCoinCreated", "kind": "nested" }, { "name": "CreatorCoinLaunched", "type": "creator_coin::factory::factory::Factory::CreatorCoinLaunched", "kind": "nested" }] }];
4639
4649
 
4650
+ // src/abis/ipTicketCollection.ts
4651
+ var IPTicketCollectionABI = [
4652
+ {
4653
+ "type": "impl",
4654
+ "name": "ERC721MetadataImpl",
4655
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721Metadata"
4656
+ },
4657
+ {
4658
+ "type": "struct",
4659
+ "name": "core::byte_array::ByteArray",
4660
+ "members": [
4661
+ {
4662
+ "name": "data",
4663
+ "type": "core::array::Array::<core::bytes_31::bytes31>"
4664
+ },
4665
+ {
4666
+ "name": "pending_word",
4667
+ "type": "core::felt252"
4668
+ },
4669
+ {
4670
+ "name": "pending_word_len",
4671
+ "type": "core::internal::bounded_int::BoundedInt::<0, 30>"
4672
+ }
4673
+ ]
4674
+ },
4675
+ {
4676
+ "type": "struct",
4677
+ "name": "core::integer::u256",
4678
+ "members": [
4679
+ {
4680
+ "name": "low",
4681
+ "type": "core::integer::u128"
4682
+ },
4683
+ {
4684
+ "name": "high",
4685
+ "type": "core::integer::u128"
4686
+ }
4687
+ ]
4688
+ },
4689
+ {
4690
+ "type": "interface",
4691
+ "name": "openzeppelin_token::erc721::interface::IERC721Metadata",
4692
+ "items": [
4693
+ {
4694
+ "type": "function",
4695
+ "name": "name",
4696
+ "inputs": [],
4697
+ "outputs": [
4698
+ {
4699
+ "type": "core::byte_array::ByteArray"
4700
+ }
4701
+ ],
4702
+ "state_mutability": "view"
4703
+ },
4704
+ {
4705
+ "type": "function",
4706
+ "name": "symbol",
4707
+ "inputs": [],
4708
+ "outputs": [
4709
+ {
4710
+ "type": "core::byte_array::ByteArray"
4711
+ }
4712
+ ],
4713
+ "state_mutability": "view"
4714
+ },
4715
+ {
4716
+ "type": "function",
4717
+ "name": "token_uri",
4718
+ "inputs": [
4719
+ {
4720
+ "name": "token_id",
4721
+ "type": "core::integer::u256"
4722
+ }
4723
+ ],
4724
+ "outputs": [
4725
+ {
4726
+ "type": "core::byte_array::ByteArray"
4727
+ }
4728
+ ],
4729
+ "state_mutability": "view"
4730
+ }
4731
+ ]
4732
+ },
4733
+ {
4734
+ "type": "impl",
4735
+ "name": "ERC721MetadataCamelOnlyImpl",
4736
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly"
4737
+ },
4738
+ {
4739
+ "type": "interface",
4740
+ "name": "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly",
4741
+ "items": [
4742
+ {
4743
+ "type": "function",
4744
+ "name": "tokenURI",
4745
+ "inputs": [
4746
+ {
4747
+ "name": "tokenId",
4748
+ "type": "core::integer::u256"
4749
+ }
4750
+ ],
4751
+ "outputs": [
4752
+ {
4753
+ "type": "core::byte_array::ByteArray"
4754
+ }
4755
+ ],
4756
+ "state_mutability": "view"
4757
+ }
4758
+ ]
4759
+ },
4760
+ {
4761
+ "type": "impl",
4762
+ "name": "IPTicketImpl",
4763
+ "interface_name": "ip_ticket::interface::IIPTicketCollection"
4764
+ },
4765
+ {
4766
+ "type": "enum",
4767
+ "name": "core::option::Option::<core::starknet::contract_address::ContractAddress>",
4768
+ "variants": [
4769
+ {
4770
+ "name": "Some",
4771
+ "type": "core::starknet::contract_address::ContractAddress"
4772
+ },
4773
+ {
4774
+ "name": "None",
4775
+ "type": "()"
4776
+ }
4777
+ ]
4778
+ },
4779
+ {
4780
+ "type": "enum",
4781
+ "name": "core::bool",
4782
+ "variants": [
4783
+ {
4784
+ "name": "False",
4785
+ "type": "()"
4786
+ },
4787
+ {
4788
+ "name": "True",
4789
+ "type": "()"
4790
+ }
4791
+ ]
4792
+ },
4793
+ {
4794
+ "type": "struct",
4795
+ "name": "ip_ticket::types::TicketCollection",
4796
+ "members": [
4797
+ {
4798
+ "name": "creator",
4799
+ "type": "core::starknet::contract_address::ContractAddress"
4800
+ },
4801
+ {
4802
+ "name": "price",
4803
+ "type": "core::integer::u256"
4804
+ },
4805
+ {
4806
+ "name": "max_supply",
4807
+ "type": "core::integer::u256"
4808
+ },
4809
+ {
4810
+ "name": "minted",
4811
+ "type": "core::integer::u256"
4812
+ },
4813
+ {
4814
+ "name": "expiration",
4815
+ "type": "core::integer::u64"
4816
+ },
4817
+ {
4818
+ "name": "royalty_bps",
4819
+ "type": "core::integer::u256"
4820
+ },
4821
+ {
4822
+ "name": "payment_token",
4823
+ "type": "core::option::Option::<core::starknet::contract_address::ContractAddress>"
4824
+ },
4825
+ {
4826
+ "name": "metadata_uri",
4827
+ "type": "core::byte_array::ByteArray"
4828
+ },
4829
+ {
4830
+ "name": "active",
4831
+ "type": "core::bool"
4832
+ }
4833
+ ]
4834
+ },
4835
+ {
4836
+ "type": "struct",
4837
+ "name": "ip_ticket::types::TicketData",
4838
+ "members": [
4839
+ {
4840
+ "name": "token_id",
4841
+ "type": "core::integer::u256"
4842
+ },
4843
+ {
4844
+ "name": "owner",
4845
+ "type": "core::starknet::contract_address::ContractAddress"
4846
+ },
4847
+ {
4848
+ "name": "collection_id",
4849
+ "type": "core::integer::u256"
4850
+ },
4851
+ {
4852
+ "name": "creator",
4853
+ "type": "core::starknet::contract_address::ContractAddress"
4854
+ },
4855
+ {
4856
+ "name": "metadata_uri",
4857
+ "type": "core::byte_array::ByteArray"
4858
+ },
4859
+ {
4860
+ "name": "expiration",
4861
+ "type": "core::integer::u64"
4862
+ },
4863
+ {
4864
+ "name": "redeemed",
4865
+ "type": "core::bool"
4866
+ },
4867
+ {
4868
+ "name": "valid",
4869
+ "type": "core::bool"
4870
+ }
4871
+ ]
4872
+ },
4873
+ {
4874
+ "type": "interface",
4875
+ "name": "ip_ticket::interface::IIPTicketCollection",
4876
+ "items": [
4877
+ {
4878
+ "type": "function",
4879
+ "name": "create_ticket_collection",
4880
+ "inputs": [
4881
+ {
4882
+ "name": "price",
4883
+ "type": "core::integer::u256"
4884
+ },
4885
+ {
4886
+ "name": "max_supply",
4887
+ "type": "core::integer::u256"
4888
+ },
4889
+ {
4890
+ "name": "expiration",
4891
+ "type": "core::integer::u64"
4892
+ },
4893
+ {
4894
+ "name": "royalty_bps",
4895
+ "type": "core::integer::u256"
4896
+ },
4897
+ {
4898
+ "name": "payment_token",
4899
+ "type": "core::option::Option::<core::starknet::contract_address::ContractAddress>"
4900
+ },
4901
+ {
4902
+ "name": "metadata_uri",
4903
+ "type": "core::byte_array::ByteArray"
4904
+ }
4905
+ ],
4906
+ "outputs": [
4907
+ {
4908
+ "type": "core::integer::u256"
4909
+ }
4910
+ ],
4911
+ "state_mutability": "external"
4912
+ },
4913
+ {
4914
+ "type": "function",
4915
+ "name": "set_collection_active",
4916
+ "inputs": [
4917
+ {
4918
+ "name": "collection_id",
4919
+ "type": "core::integer::u256"
4920
+ },
4921
+ {
4922
+ "name": "active",
4923
+ "type": "core::bool"
4924
+ }
4925
+ ],
4926
+ "outputs": [],
4927
+ "state_mutability": "external"
4928
+ },
4929
+ {
4930
+ "type": "function",
4931
+ "name": "mint_ticket",
4932
+ "inputs": [
4933
+ {
4934
+ "name": "collection_id",
4935
+ "type": "core::integer::u256"
4936
+ }
4937
+ ],
4938
+ "outputs": [
4939
+ {
4940
+ "type": "core::integer::u256"
4941
+ }
4942
+ ],
4943
+ "state_mutability": "external"
4944
+ },
4945
+ {
4946
+ "type": "function",
4947
+ "name": "redeem_ticket",
4948
+ "inputs": [
4949
+ {
4950
+ "name": "token_id",
4951
+ "type": "core::integer::u256"
4952
+ }
4953
+ ],
4954
+ "outputs": [],
4955
+ "state_mutability": "external"
4956
+ },
4957
+ {
4958
+ "type": "function",
4959
+ "name": "has_valid_ticket",
4960
+ "inputs": [
4961
+ {
4962
+ "name": "user",
4963
+ "type": "core::starknet::contract_address::ContractAddress"
4964
+ },
4965
+ {
4966
+ "name": "collection_id",
4967
+ "type": "core::integer::u256"
4968
+ }
4969
+ ],
4970
+ "outputs": [
4971
+ {
4972
+ "type": "core::bool"
4973
+ }
4974
+ ],
4975
+ "state_mutability": "view"
4976
+ },
4977
+ {
4978
+ "type": "function",
4979
+ "name": "get_ticket_collection",
4980
+ "inputs": [
4981
+ {
4982
+ "name": "collection_id",
4983
+ "type": "core::integer::u256"
4984
+ }
4985
+ ],
4986
+ "outputs": [
4987
+ {
4988
+ "type": "ip_ticket::types::TicketCollection"
4989
+ }
4990
+ ],
4991
+ "state_mutability": "view"
4992
+ },
4993
+ {
4994
+ "type": "function",
4995
+ "name": "get_ticket_data",
4996
+ "inputs": [
4997
+ {
4998
+ "name": "token_id",
4999
+ "type": "core::integer::u256"
5000
+ }
5001
+ ],
5002
+ "outputs": [
5003
+ {
5004
+ "type": "ip_ticket::types::TicketData"
5005
+ }
5006
+ ],
5007
+ "state_mutability": "view"
5008
+ },
5009
+ {
5010
+ "type": "function",
5011
+ "name": "get_ticket_collection_id",
5012
+ "inputs": [
5013
+ {
5014
+ "name": "token_id",
5015
+ "type": "core::integer::u256"
5016
+ }
5017
+ ],
5018
+ "outputs": [
5019
+ {
5020
+ "type": "core::integer::u256"
5021
+ }
5022
+ ],
5023
+ "state_mutability": "view"
5024
+ },
5025
+ {
5026
+ "type": "function",
5027
+ "name": "get_active_ticket_balance",
5028
+ "inputs": [
5029
+ {
5030
+ "name": "user",
5031
+ "type": "core::starknet::contract_address::ContractAddress"
5032
+ },
5033
+ {
5034
+ "name": "collection_id",
5035
+ "type": "core::integer::u256"
5036
+ }
5037
+ ],
5038
+ "outputs": [
5039
+ {
5040
+ "type": "core::integer::u256"
5041
+ }
5042
+ ],
5043
+ "state_mutability": "view"
5044
+ },
5045
+ {
5046
+ "type": "function",
5047
+ "name": "get_last_collection_id",
5048
+ "inputs": [],
5049
+ "outputs": [
5050
+ {
5051
+ "type": "core::integer::u256"
5052
+ }
5053
+ ],
5054
+ "state_mutability": "view"
5055
+ },
5056
+ {
5057
+ "type": "function",
5058
+ "name": "total_supply",
5059
+ "inputs": [],
5060
+ "outputs": [
5061
+ {
5062
+ "type": "core::integer::u256"
5063
+ }
5064
+ ],
5065
+ "state_mutability": "view"
5066
+ },
5067
+ {
5068
+ "type": "function",
5069
+ "name": "royalty_info",
5070
+ "inputs": [
5071
+ {
5072
+ "name": "token_id",
5073
+ "type": "core::integer::u256"
5074
+ },
5075
+ {
5076
+ "name": "sale_price",
5077
+ "type": "core::integer::u256"
5078
+ }
5079
+ ],
5080
+ "outputs": [
5081
+ {
5082
+ "type": "(core::starknet::contract_address::ContractAddress, core::integer::u256)"
5083
+ }
5084
+ ],
5085
+ "state_mutability": "view"
5086
+ },
5087
+ {
5088
+ "type": "function",
5089
+ "name": "royaltyInfo",
5090
+ "inputs": [
5091
+ {
5092
+ "name": "token_id",
5093
+ "type": "core::integer::u256"
5094
+ },
5095
+ {
5096
+ "name": "sale_price",
5097
+ "type": "core::integer::u256"
5098
+ }
5099
+ ],
5100
+ "outputs": [
5101
+ {
5102
+ "type": "(core::starknet::contract_address::ContractAddress, core::integer::u256)"
5103
+ }
5104
+ ],
5105
+ "state_mutability": "view"
5106
+ }
5107
+ ]
5108
+ },
5109
+ {
5110
+ "type": "impl",
5111
+ "name": "ERC721Impl",
5112
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721"
5113
+ },
5114
+ {
5115
+ "type": "struct",
5116
+ "name": "core::array::Span::<core::felt252>",
5117
+ "members": [
5118
+ {
5119
+ "name": "snapshot",
5120
+ "type": "@core::array::Array::<core::felt252>"
5121
+ }
5122
+ ]
5123
+ },
5124
+ {
5125
+ "type": "interface",
5126
+ "name": "openzeppelin_token::erc721::interface::IERC721",
5127
+ "items": [
5128
+ {
5129
+ "type": "function",
5130
+ "name": "balance_of",
5131
+ "inputs": [
5132
+ {
5133
+ "name": "account",
5134
+ "type": "core::starknet::contract_address::ContractAddress"
5135
+ }
5136
+ ],
5137
+ "outputs": [
5138
+ {
5139
+ "type": "core::integer::u256"
5140
+ }
5141
+ ],
5142
+ "state_mutability": "view"
5143
+ },
5144
+ {
5145
+ "type": "function",
5146
+ "name": "owner_of",
5147
+ "inputs": [
5148
+ {
5149
+ "name": "token_id",
5150
+ "type": "core::integer::u256"
5151
+ }
5152
+ ],
5153
+ "outputs": [
5154
+ {
5155
+ "type": "core::starknet::contract_address::ContractAddress"
5156
+ }
5157
+ ],
5158
+ "state_mutability": "view"
5159
+ },
5160
+ {
5161
+ "type": "function",
5162
+ "name": "safe_transfer_from",
5163
+ "inputs": [
5164
+ {
5165
+ "name": "from",
5166
+ "type": "core::starknet::contract_address::ContractAddress"
5167
+ },
5168
+ {
5169
+ "name": "to",
5170
+ "type": "core::starknet::contract_address::ContractAddress"
5171
+ },
5172
+ {
5173
+ "name": "token_id",
5174
+ "type": "core::integer::u256"
5175
+ },
5176
+ {
5177
+ "name": "data",
5178
+ "type": "core::array::Span::<core::felt252>"
5179
+ }
5180
+ ],
5181
+ "outputs": [],
5182
+ "state_mutability": "external"
5183
+ },
5184
+ {
5185
+ "type": "function",
5186
+ "name": "transfer_from",
5187
+ "inputs": [
5188
+ {
5189
+ "name": "from",
5190
+ "type": "core::starknet::contract_address::ContractAddress"
5191
+ },
5192
+ {
5193
+ "name": "to",
5194
+ "type": "core::starknet::contract_address::ContractAddress"
5195
+ },
5196
+ {
5197
+ "name": "token_id",
5198
+ "type": "core::integer::u256"
5199
+ }
5200
+ ],
5201
+ "outputs": [],
5202
+ "state_mutability": "external"
5203
+ },
5204
+ {
5205
+ "type": "function",
5206
+ "name": "approve",
5207
+ "inputs": [
5208
+ {
5209
+ "name": "to",
5210
+ "type": "core::starknet::contract_address::ContractAddress"
5211
+ },
5212
+ {
5213
+ "name": "token_id",
5214
+ "type": "core::integer::u256"
5215
+ }
5216
+ ],
5217
+ "outputs": [],
5218
+ "state_mutability": "external"
5219
+ },
5220
+ {
5221
+ "type": "function",
5222
+ "name": "set_approval_for_all",
5223
+ "inputs": [
5224
+ {
5225
+ "name": "operator",
5226
+ "type": "core::starknet::contract_address::ContractAddress"
5227
+ },
5228
+ {
5229
+ "name": "approved",
5230
+ "type": "core::bool"
5231
+ }
5232
+ ],
5233
+ "outputs": [],
5234
+ "state_mutability": "external"
5235
+ },
5236
+ {
5237
+ "type": "function",
5238
+ "name": "get_approved",
5239
+ "inputs": [
5240
+ {
5241
+ "name": "token_id",
5242
+ "type": "core::integer::u256"
5243
+ }
5244
+ ],
5245
+ "outputs": [
5246
+ {
5247
+ "type": "core::starknet::contract_address::ContractAddress"
5248
+ }
5249
+ ],
5250
+ "state_mutability": "view"
5251
+ },
5252
+ {
5253
+ "type": "function",
5254
+ "name": "is_approved_for_all",
5255
+ "inputs": [
5256
+ {
5257
+ "name": "owner",
5258
+ "type": "core::starknet::contract_address::ContractAddress"
5259
+ },
5260
+ {
5261
+ "name": "operator",
5262
+ "type": "core::starknet::contract_address::ContractAddress"
5263
+ }
5264
+ ],
5265
+ "outputs": [
5266
+ {
5267
+ "type": "core::bool"
5268
+ }
5269
+ ],
5270
+ "state_mutability": "view"
5271
+ }
5272
+ ]
5273
+ },
5274
+ {
5275
+ "type": "impl",
5276
+ "name": "ERC721CamelOnly",
5277
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721CamelOnly"
5278
+ },
5279
+ {
5280
+ "type": "interface",
5281
+ "name": "openzeppelin_token::erc721::interface::IERC721CamelOnly",
5282
+ "items": [
5283
+ {
5284
+ "type": "function",
5285
+ "name": "balanceOf",
5286
+ "inputs": [
5287
+ {
5288
+ "name": "account",
5289
+ "type": "core::starknet::contract_address::ContractAddress"
5290
+ }
5291
+ ],
5292
+ "outputs": [
5293
+ {
5294
+ "type": "core::integer::u256"
5295
+ }
5296
+ ],
5297
+ "state_mutability": "view"
5298
+ },
5299
+ {
5300
+ "type": "function",
5301
+ "name": "ownerOf",
5302
+ "inputs": [
5303
+ {
5304
+ "name": "tokenId",
5305
+ "type": "core::integer::u256"
5306
+ }
5307
+ ],
5308
+ "outputs": [
5309
+ {
5310
+ "type": "core::starknet::contract_address::ContractAddress"
5311
+ }
5312
+ ],
5313
+ "state_mutability": "view"
5314
+ },
5315
+ {
5316
+ "type": "function",
5317
+ "name": "safeTransferFrom",
5318
+ "inputs": [
5319
+ {
5320
+ "name": "from",
5321
+ "type": "core::starknet::contract_address::ContractAddress"
5322
+ },
5323
+ {
5324
+ "name": "to",
5325
+ "type": "core::starknet::contract_address::ContractAddress"
5326
+ },
5327
+ {
5328
+ "name": "tokenId",
5329
+ "type": "core::integer::u256"
5330
+ },
5331
+ {
5332
+ "name": "data",
5333
+ "type": "core::array::Span::<core::felt252>"
5334
+ }
5335
+ ],
5336
+ "outputs": [],
5337
+ "state_mutability": "external"
5338
+ },
5339
+ {
5340
+ "type": "function",
5341
+ "name": "transferFrom",
5342
+ "inputs": [
5343
+ {
5344
+ "name": "from",
5345
+ "type": "core::starknet::contract_address::ContractAddress"
5346
+ },
5347
+ {
5348
+ "name": "to",
5349
+ "type": "core::starknet::contract_address::ContractAddress"
5350
+ },
5351
+ {
5352
+ "name": "tokenId",
5353
+ "type": "core::integer::u256"
5354
+ }
5355
+ ],
5356
+ "outputs": [],
5357
+ "state_mutability": "external"
5358
+ },
5359
+ {
5360
+ "type": "function",
5361
+ "name": "setApprovalForAll",
5362
+ "inputs": [
5363
+ {
5364
+ "name": "operator",
5365
+ "type": "core::starknet::contract_address::ContractAddress"
5366
+ },
5367
+ {
5368
+ "name": "approved",
5369
+ "type": "core::bool"
5370
+ }
5371
+ ],
5372
+ "outputs": [],
5373
+ "state_mutability": "external"
5374
+ },
5375
+ {
5376
+ "type": "function",
5377
+ "name": "getApproved",
5378
+ "inputs": [
5379
+ {
5380
+ "name": "tokenId",
5381
+ "type": "core::integer::u256"
5382
+ }
5383
+ ],
5384
+ "outputs": [
5385
+ {
5386
+ "type": "core::starknet::contract_address::ContractAddress"
5387
+ }
5388
+ ],
5389
+ "state_mutability": "view"
5390
+ },
5391
+ {
5392
+ "type": "function",
5393
+ "name": "isApprovedForAll",
5394
+ "inputs": [
5395
+ {
5396
+ "name": "owner",
5397
+ "type": "core::starknet::contract_address::ContractAddress"
5398
+ },
5399
+ {
5400
+ "name": "operator",
5401
+ "type": "core::starknet::contract_address::ContractAddress"
5402
+ }
5403
+ ],
5404
+ "outputs": [
5405
+ {
5406
+ "type": "core::bool"
5407
+ }
5408
+ ],
5409
+ "state_mutability": "view"
5410
+ }
5411
+ ]
5412
+ },
5413
+ {
5414
+ "type": "impl",
5415
+ "name": "SRC5Impl",
5416
+ "interface_name": "openzeppelin_introspection::interface::ISRC5"
5417
+ },
5418
+ {
5419
+ "type": "interface",
5420
+ "name": "openzeppelin_introspection::interface::ISRC5",
5421
+ "items": [
5422
+ {
5423
+ "type": "function",
5424
+ "name": "supports_interface",
5425
+ "inputs": [
5426
+ {
5427
+ "name": "interface_id",
5428
+ "type": "core::felt252"
5429
+ }
5430
+ ],
5431
+ "outputs": [
5432
+ {
5433
+ "type": "core::bool"
5434
+ }
5435
+ ],
5436
+ "state_mutability": "view"
5437
+ }
5438
+ ]
5439
+ },
5440
+ {
5441
+ "type": "impl",
5442
+ "name": "OwnableMixinImpl",
5443
+ "interface_name": "openzeppelin_access::ownable::interface::OwnableABI"
5444
+ },
5445
+ {
5446
+ "type": "interface",
5447
+ "name": "openzeppelin_access::ownable::interface::OwnableABI",
5448
+ "items": [
5449
+ {
5450
+ "type": "function",
5451
+ "name": "owner",
5452
+ "inputs": [],
5453
+ "outputs": [
5454
+ {
5455
+ "type": "core::starknet::contract_address::ContractAddress"
5456
+ }
5457
+ ],
5458
+ "state_mutability": "view"
5459
+ },
5460
+ {
5461
+ "type": "function",
5462
+ "name": "transfer_ownership",
5463
+ "inputs": [
5464
+ {
5465
+ "name": "new_owner",
5466
+ "type": "core::starknet::contract_address::ContractAddress"
5467
+ }
5468
+ ],
5469
+ "outputs": [],
5470
+ "state_mutability": "external"
5471
+ },
5472
+ {
5473
+ "type": "function",
5474
+ "name": "renounce_ownership",
5475
+ "inputs": [],
5476
+ "outputs": [],
5477
+ "state_mutability": "external"
5478
+ },
5479
+ {
5480
+ "type": "function",
5481
+ "name": "transferOwnership",
5482
+ "inputs": [
5483
+ {
5484
+ "name": "newOwner",
5485
+ "type": "core::starknet::contract_address::ContractAddress"
5486
+ }
5487
+ ],
5488
+ "outputs": [],
5489
+ "state_mutability": "external"
5490
+ },
5491
+ {
5492
+ "type": "function",
5493
+ "name": "renounceOwnership",
5494
+ "inputs": [],
5495
+ "outputs": [],
5496
+ "state_mutability": "external"
5497
+ }
5498
+ ]
5499
+ },
5500
+ {
5501
+ "type": "constructor",
5502
+ "name": "constructor",
5503
+ "inputs": [
5504
+ {
5505
+ "name": "name",
5506
+ "type": "core::byte_array::ByteArray"
5507
+ },
5508
+ {
5509
+ "name": "symbol",
5510
+ "type": "core::byte_array::ByteArray"
5511
+ },
5512
+ {
5513
+ "name": "owner",
5514
+ "type": "core::starknet::contract_address::ContractAddress"
5515
+ }
5516
+ ]
5517
+ },
5518
+ {
5519
+ "type": "event",
5520
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Transfer",
5521
+ "kind": "struct",
5522
+ "members": [
5523
+ {
5524
+ "name": "from",
5525
+ "type": "core::starknet::contract_address::ContractAddress",
5526
+ "kind": "key"
5527
+ },
5528
+ {
5529
+ "name": "to",
5530
+ "type": "core::starknet::contract_address::ContractAddress",
5531
+ "kind": "key"
5532
+ },
5533
+ {
5534
+ "name": "token_id",
5535
+ "type": "core::integer::u256",
5536
+ "kind": "key"
5537
+ }
5538
+ ]
5539
+ },
5540
+ {
5541
+ "type": "event",
5542
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Approval",
5543
+ "kind": "struct",
5544
+ "members": [
5545
+ {
5546
+ "name": "owner",
5547
+ "type": "core::starknet::contract_address::ContractAddress",
5548
+ "kind": "key"
5549
+ },
5550
+ {
5551
+ "name": "approved",
5552
+ "type": "core::starknet::contract_address::ContractAddress",
5553
+ "kind": "key"
5554
+ },
5555
+ {
5556
+ "name": "token_id",
5557
+ "type": "core::integer::u256",
5558
+ "kind": "key"
5559
+ }
5560
+ ]
5561
+ },
5562
+ {
5563
+ "type": "event",
5564
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll",
5565
+ "kind": "struct",
5566
+ "members": [
5567
+ {
5568
+ "name": "owner",
5569
+ "type": "core::starknet::contract_address::ContractAddress",
5570
+ "kind": "key"
5571
+ },
5572
+ {
5573
+ "name": "operator",
5574
+ "type": "core::starknet::contract_address::ContractAddress",
5575
+ "kind": "key"
5576
+ },
5577
+ {
5578
+ "name": "approved",
5579
+ "type": "core::bool",
5580
+ "kind": "data"
5581
+ }
5582
+ ]
5583
+ },
5584
+ {
5585
+ "type": "event",
5586
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Event",
5587
+ "kind": "enum",
5588
+ "variants": [
5589
+ {
5590
+ "name": "Transfer",
5591
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Transfer",
5592
+ "kind": "nested"
5593
+ },
5594
+ {
5595
+ "name": "Approval",
5596
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Approval",
5597
+ "kind": "nested"
5598
+ },
5599
+ {
5600
+ "name": "ApprovalForAll",
5601
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll",
5602
+ "kind": "nested"
5603
+ }
5604
+ ]
5605
+ },
5606
+ {
5607
+ "type": "event",
5608
+ "name": "openzeppelin_introspection::src5::SRC5Component::Event",
5609
+ "kind": "enum",
5610
+ "variants": []
5611
+ },
5612
+ {
5613
+ "type": "event",
5614
+ "name": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred",
5615
+ "kind": "struct",
5616
+ "members": [
5617
+ {
5618
+ "name": "previous_owner",
5619
+ "type": "core::starknet::contract_address::ContractAddress",
5620
+ "kind": "key"
5621
+ },
5622
+ {
5623
+ "name": "new_owner",
5624
+ "type": "core::starknet::contract_address::ContractAddress",
5625
+ "kind": "key"
5626
+ }
5627
+ ]
5628
+ },
5629
+ {
5630
+ "type": "event",
5631
+ "name": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted",
5632
+ "kind": "struct",
5633
+ "members": [
5634
+ {
5635
+ "name": "previous_owner",
5636
+ "type": "core::starknet::contract_address::ContractAddress",
5637
+ "kind": "key"
5638
+ },
5639
+ {
5640
+ "name": "new_owner",
5641
+ "type": "core::starknet::contract_address::ContractAddress",
5642
+ "kind": "key"
5643
+ }
5644
+ ]
5645
+ },
5646
+ {
5647
+ "type": "event",
5648
+ "name": "openzeppelin_access::ownable::ownable::OwnableComponent::Event",
5649
+ "kind": "enum",
5650
+ "variants": [
5651
+ {
5652
+ "name": "OwnershipTransferred",
5653
+ "type": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred",
5654
+ "kind": "nested"
5655
+ },
5656
+ {
5657
+ "name": "OwnershipTransferStarted",
5658
+ "type": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted",
5659
+ "kind": "nested"
5660
+ }
5661
+ ]
5662
+ },
5663
+ {
5664
+ "type": "event",
5665
+ "name": "ip_ticket::IPTicketCollection::IPTicketCollection::TicketCollectionCreated",
5666
+ "kind": "struct",
5667
+ "members": [
5668
+ {
5669
+ "name": "collection_id",
5670
+ "type": "core::integer::u256",
5671
+ "kind": "key"
5672
+ },
5673
+ {
5674
+ "name": "creator",
5675
+ "type": "core::starknet::contract_address::ContractAddress",
5676
+ "kind": "key"
5677
+ },
5678
+ {
5679
+ "name": "price",
5680
+ "type": "core::integer::u256",
5681
+ "kind": "data"
5682
+ },
5683
+ {
5684
+ "name": "max_supply",
5685
+ "type": "core::integer::u256",
5686
+ "kind": "data"
5687
+ },
5688
+ {
5689
+ "name": "expiration",
5690
+ "type": "core::integer::u64",
5691
+ "kind": "data"
5692
+ },
5693
+ {
5694
+ "name": "royalty_bps",
5695
+ "type": "core::integer::u256",
5696
+ "kind": "data"
5697
+ },
5698
+ {
5699
+ "name": "payment_token",
5700
+ "type": "core::option::Option::<core::starknet::contract_address::ContractAddress>",
5701
+ "kind": "data"
5702
+ },
5703
+ {
5704
+ "name": "metadata_uri",
5705
+ "type": "core::byte_array::ByteArray",
5706
+ "kind": "data"
5707
+ },
5708
+ {
5709
+ "name": "created_at",
5710
+ "type": "core::integer::u64",
5711
+ "kind": "data"
5712
+ }
5713
+ ]
5714
+ },
5715
+ {
5716
+ "type": "event",
5717
+ "name": "ip_ticket::IPTicketCollection::IPTicketCollection::CollectionStatusUpdated",
5718
+ "kind": "struct",
5719
+ "members": [
5720
+ {
5721
+ "name": "collection_id",
5722
+ "type": "core::integer::u256",
5723
+ "kind": "key"
5724
+ },
5725
+ {
5726
+ "name": "active",
5727
+ "type": "core::bool",
5728
+ "kind": "data"
5729
+ },
5730
+ {
5731
+ "name": "updated_at",
5732
+ "type": "core::integer::u64",
5733
+ "kind": "data"
5734
+ }
5735
+ ]
5736
+ },
5737
+ {
5738
+ "type": "event",
5739
+ "name": "ip_ticket::IPTicketCollection::IPTicketCollection::TicketMinted",
5740
+ "kind": "struct",
5741
+ "members": [
5742
+ {
5743
+ "name": "token_id",
5744
+ "type": "core::integer::u256",
5745
+ "kind": "key"
5746
+ },
5747
+ {
5748
+ "name": "collection_id",
5749
+ "type": "core::integer::u256",
5750
+ "kind": "key"
5751
+ },
5752
+ {
5753
+ "name": "owner",
5754
+ "type": "core::starknet::contract_address::ContractAddress",
5755
+ "kind": "key"
5756
+ },
5757
+ {
5758
+ "name": "minted_at",
5759
+ "type": "core::integer::u64",
5760
+ "kind": "data"
5761
+ }
5762
+ ]
5763
+ },
5764
+ {
5765
+ "type": "event",
5766
+ "name": "ip_ticket::IPTicketCollection::IPTicketCollection::TicketRedeemed",
5767
+ "kind": "struct",
5768
+ "members": [
5769
+ {
5770
+ "name": "token_id",
5771
+ "type": "core::integer::u256",
5772
+ "kind": "key"
5773
+ },
5774
+ {
5775
+ "name": "collection_id",
5776
+ "type": "core::integer::u256",
5777
+ "kind": "key"
5778
+ },
5779
+ {
5780
+ "name": "owner",
5781
+ "type": "core::starknet::contract_address::ContractAddress",
5782
+ "kind": "key"
5783
+ },
5784
+ {
5785
+ "name": "redeemed_at",
5786
+ "type": "core::integer::u64",
5787
+ "kind": "data"
5788
+ }
5789
+ ]
5790
+ },
5791
+ {
5792
+ "type": "event",
5793
+ "name": "ip_ticket::IPTicketCollection::IPTicketCollection::Event",
5794
+ "kind": "enum",
5795
+ "variants": [
5796
+ {
5797
+ "name": "ERC721Event",
5798
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Event",
5799
+ "kind": "flat"
5800
+ },
5801
+ {
5802
+ "name": "SRC5Event",
5803
+ "type": "openzeppelin_introspection::src5::SRC5Component::Event",
5804
+ "kind": "flat"
5805
+ },
5806
+ {
5807
+ "name": "OwnableEvent",
5808
+ "type": "openzeppelin_access::ownable::ownable::OwnableComponent::Event",
5809
+ "kind": "flat"
5810
+ },
5811
+ {
5812
+ "name": "TicketCollectionCreated",
5813
+ "type": "ip_ticket::IPTicketCollection::IPTicketCollection::TicketCollectionCreated",
5814
+ "kind": "nested"
5815
+ },
5816
+ {
5817
+ "name": "CollectionStatusUpdated",
5818
+ "type": "ip_ticket::IPTicketCollection::IPTicketCollection::CollectionStatusUpdated",
5819
+ "kind": "nested"
5820
+ },
5821
+ {
5822
+ "name": "TicketMinted",
5823
+ "type": "ip_ticket::IPTicketCollection::IPTicketCollection::TicketMinted",
5824
+ "kind": "nested"
5825
+ },
5826
+ {
5827
+ "name": "TicketRedeemed",
5828
+ "type": "ip_ticket::IPTicketCollection::IPTicketCollection::TicketRedeemed",
5829
+ "kind": "nested"
5830
+ }
5831
+ ]
5832
+ }
5833
+ ];
5834
+
5835
+ // src/abis/ipTicketCollectionFactory.ts
5836
+ var IPTicketCollectionFactoryABI = [
5837
+ {
5838
+ "type": "impl",
5839
+ "name": "IPTicketCollectionFactoryImpl",
5840
+ "interface_name": "ip_ticket::interface::IIPTicketCollectionFactory"
5841
+ },
5842
+ {
5843
+ "type": "struct",
5844
+ "name": "core::byte_array::ByteArray",
5845
+ "members": [
5846
+ {
5847
+ "name": "data",
5848
+ "type": "core::array::Array::<core::bytes_31::bytes31>"
5849
+ },
5850
+ {
5851
+ "name": "pending_word",
5852
+ "type": "core::felt252"
5853
+ },
5854
+ {
5855
+ "name": "pending_word_len",
5856
+ "type": "core::internal::bounded_int::BoundedInt::<0, 30>"
5857
+ }
5858
+ ]
5859
+ },
5860
+ {
5861
+ "type": "interface",
5862
+ "name": "ip_ticket::interface::IIPTicketCollectionFactory",
5863
+ "items": [
5864
+ {
5865
+ "type": "function",
5866
+ "name": "collection_class_hash",
5867
+ "inputs": [],
5868
+ "outputs": [
5869
+ {
5870
+ "type": "core::starknet::class_hash::ClassHash"
5871
+ }
5872
+ ],
5873
+ "state_mutability": "view"
5874
+ },
5875
+ {
5876
+ "type": "function",
5877
+ "name": "version",
5878
+ "inputs": [],
5879
+ "outputs": [
5880
+ {
5881
+ "type": "core::byte_array::ByteArray"
5882
+ }
5883
+ ],
5884
+ "state_mutability": "view"
5885
+ },
5886
+ {
5887
+ "type": "function",
5888
+ "name": "deploy_ticket_collection",
5889
+ "inputs": [
5890
+ {
5891
+ "name": "name",
5892
+ "type": "core::byte_array::ByteArray"
5893
+ },
5894
+ {
5895
+ "name": "symbol",
5896
+ "type": "core::byte_array::ByteArray"
5897
+ }
5898
+ ],
5899
+ "outputs": [
5900
+ {
5901
+ "type": "core::starknet::contract_address::ContractAddress"
5902
+ }
5903
+ ],
5904
+ "state_mutability": "external"
5905
+ }
5906
+ ]
5907
+ },
5908
+ {
5909
+ "type": "constructor",
5910
+ "name": "constructor",
5911
+ "inputs": [
5912
+ {
5913
+ "name": "collection_class_hash",
5914
+ "type": "core::starknet::class_hash::ClassHash"
5915
+ }
5916
+ ]
5917
+ },
5918
+ {
5919
+ "type": "event",
5920
+ "name": "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::CollectionDeployed",
5921
+ "kind": "struct",
5922
+ "members": [
5923
+ {
5924
+ "name": "collection_address",
5925
+ "type": "core::starknet::contract_address::ContractAddress",
5926
+ "kind": "key"
5927
+ },
5928
+ {
5929
+ "name": "owner",
5930
+ "type": "core::starknet::contract_address::ContractAddress",
5931
+ "kind": "key"
5932
+ },
5933
+ {
5934
+ "name": "name",
5935
+ "type": "core::byte_array::ByteArray",
5936
+ "kind": "data"
5937
+ },
5938
+ {
5939
+ "name": "symbol",
5940
+ "type": "core::byte_array::ByteArray",
5941
+ "kind": "data"
5942
+ }
5943
+ ]
5944
+ },
5945
+ {
5946
+ "type": "event",
5947
+ "name": "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::Event",
5948
+ "kind": "enum",
5949
+ "variants": [
5950
+ {
5951
+ "name": "CollectionDeployed",
5952
+ "type": "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::CollectionDeployed",
5953
+ "kind": "nested"
5954
+ }
5955
+ ]
5956
+ }
5957
+ ];
5958
+
5959
+ // src/abis/ipClub.ts
5960
+ var IPClubABI = [
5961
+ {
5962
+ "type": "impl",
5963
+ "name": "IPClubImpl",
5964
+ "interface_name": "ip_club::interfaces::IIPClub::IIPClub"
5965
+ },
5966
+ {
5967
+ "type": "struct",
5968
+ "name": "core::byte_array::ByteArray",
5969
+ "members": [
5970
+ {
5971
+ "name": "data",
5972
+ "type": "core::array::Array::<core::bytes_31::bytes31>"
5973
+ },
5974
+ {
5975
+ "name": "pending_word",
5976
+ "type": "core::felt252"
5977
+ },
5978
+ {
5979
+ "name": "pending_word_len",
5980
+ "type": "core::internal::bounded_int::BoundedInt::<0, 30>"
5981
+ }
5982
+ ]
5983
+ },
5984
+ {
5985
+ "type": "enum",
5986
+ "name": "core::option::Option::<core::integer::u32>",
5987
+ "variants": [
5988
+ {
5989
+ "name": "Some",
5990
+ "type": "core::integer::u32"
5991
+ },
5992
+ {
5993
+ "name": "None",
5994
+ "type": "()"
5995
+ }
5996
+ ]
5997
+ },
5998
+ {
5999
+ "type": "struct",
6000
+ "name": "core::integer::u256",
6001
+ "members": [
6002
+ {
6003
+ "name": "low",
6004
+ "type": "core::integer::u128"
6005
+ },
6006
+ {
6007
+ "name": "high",
6008
+ "type": "core::integer::u128"
6009
+ }
6010
+ ]
6011
+ },
6012
+ {
6013
+ "type": "enum",
6014
+ "name": "core::option::Option::<core::integer::u256>",
6015
+ "variants": [
6016
+ {
6017
+ "name": "Some",
6018
+ "type": "core::integer::u256"
6019
+ },
6020
+ {
6021
+ "name": "None",
6022
+ "type": "()"
6023
+ }
6024
+ ]
6025
+ },
6026
+ {
6027
+ "type": "enum",
6028
+ "name": "core::option::Option::<core::starknet::contract_address::ContractAddress>",
6029
+ "variants": [
6030
+ {
6031
+ "name": "Some",
6032
+ "type": "core::starknet::contract_address::ContractAddress"
6033
+ },
6034
+ {
6035
+ "name": "None",
6036
+ "type": "()"
6037
+ }
6038
+ ]
6039
+ },
6040
+ {
6041
+ "type": "enum",
6042
+ "name": "core::bool",
6043
+ "variants": [
6044
+ {
6045
+ "name": "False",
6046
+ "type": "()"
6047
+ },
6048
+ {
6049
+ "name": "True",
6050
+ "type": "()"
6051
+ }
6052
+ ]
6053
+ },
6054
+ {
6055
+ "type": "struct",
6056
+ "name": "ip_club::types::ClubRecord",
6057
+ "members": [
6058
+ {
6059
+ "name": "creator",
6060
+ "type": "core::starknet::contract_address::ContractAddress"
6061
+ },
6062
+ {
6063
+ "name": "club_nft",
6064
+ "type": "core::starknet::contract_address::ContractAddress"
6065
+ },
6066
+ {
6067
+ "name": "open",
6068
+ "type": "core::bool"
6069
+ },
6070
+ {
6071
+ "name": "num_members",
6072
+ "type": "core::integer::u32"
6073
+ },
6074
+ {
6075
+ "name": "max_members",
6076
+ "type": "core::option::Option::<core::integer::u32>"
6077
+ },
6078
+ {
6079
+ "name": "entry_fee",
6080
+ "type": "core::option::Option::<core::integer::u256>"
6081
+ },
6082
+ {
6083
+ "name": "payment_token",
6084
+ "type": "core::option::Option::<core::starknet::contract_address::ContractAddress>"
6085
+ }
6086
+ ]
6087
+ },
6088
+ {
6089
+ "type": "interface",
6090
+ "name": "ip_club::interfaces::IIPClub::IIPClub",
6091
+ "items": [
6092
+ {
6093
+ "type": "function",
6094
+ "name": "create_club",
6095
+ "inputs": [
6096
+ {
6097
+ "name": "name",
6098
+ "type": "core::byte_array::ByteArray"
6099
+ },
6100
+ {
6101
+ "name": "symbol",
6102
+ "type": "core::byte_array::ByteArray"
6103
+ },
6104
+ {
6105
+ "name": "metadata_uri",
6106
+ "type": "core::byte_array::ByteArray"
6107
+ },
6108
+ {
6109
+ "name": "max_members",
6110
+ "type": "core::option::Option::<core::integer::u32>"
6111
+ },
6112
+ {
6113
+ "name": "entry_fee",
6114
+ "type": "core::option::Option::<core::integer::u256>"
6115
+ },
6116
+ {
6117
+ "name": "payment_token",
6118
+ "type": "core::option::Option::<core::starknet::contract_address::ContractAddress>"
6119
+ }
6120
+ ],
6121
+ "outputs": [
6122
+ {
6123
+ "type": "core::integer::u256"
6124
+ }
6125
+ ],
6126
+ "state_mutability": "external"
6127
+ },
6128
+ {
6129
+ "type": "function",
6130
+ "name": "set_club_open",
6131
+ "inputs": [
6132
+ {
6133
+ "name": "club_id",
6134
+ "type": "core::integer::u256"
6135
+ },
6136
+ {
6137
+ "name": "open",
6138
+ "type": "core::bool"
6139
+ }
6140
+ ],
6141
+ "outputs": [],
6142
+ "state_mutability": "external"
6143
+ },
6144
+ {
6145
+ "type": "function",
6146
+ "name": "join_club",
6147
+ "inputs": [
6148
+ {
6149
+ "name": "club_id",
6150
+ "type": "core::integer::u256"
6151
+ }
6152
+ ],
6153
+ "outputs": [],
6154
+ "state_mutability": "external"
6155
+ },
6156
+ {
6157
+ "type": "function",
6158
+ "name": "leave_club",
6159
+ "inputs": [
6160
+ {
6161
+ "name": "club_id",
6162
+ "type": "core::integer::u256"
6163
+ },
6164
+ {
6165
+ "name": "token_id",
6166
+ "type": "core::integer::u256"
6167
+ }
6168
+ ],
6169
+ "outputs": [],
6170
+ "state_mutability": "external"
6171
+ },
6172
+ {
6173
+ "type": "function",
6174
+ "name": "get_club_record",
6175
+ "inputs": [
6176
+ {
6177
+ "name": "club_id",
6178
+ "type": "core::integer::u256"
6179
+ }
6180
+ ],
6181
+ "outputs": [
6182
+ {
6183
+ "type": "ip_club::types::ClubRecord"
6184
+ }
6185
+ ],
6186
+ "state_mutability": "view"
6187
+ },
6188
+ {
6189
+ "type": "function",
6190
+ "name": "is_member",
6191
+ "inputs": [
6192
+ {
6193
+ "name": "club_id",
6194
+ "type": "core::integer::u256"
6195
+ },
6196
+ {
6197
+ "name": "user",
6198
+ "type": "core::starknet::contract_address::ContractAddress"
6199
+ }
6200
+ ],
6201
+ "outputs": [
6202
+ {
6203
+ "type": "core::bool"
6204
+ }
6205
+ ],
6206
+ "state_mutability": "view"
6207
+ },
6208
+ {
6209
+ "type": "function",
6210
+ "name": "get_last_club_id",
6211
+ "inputs": [],
6212
+ "outputs": [
6213
+ {
6214
+ "type": "core::integer::u256"
6215
+ }
6216
+ ],
6217
+ "state_mutability": "view"
6218
+ }
6219
+ ]
6220
+ },
6221
+ {
6222
+ "type": "impl",
6223
+ "name": "SRC5Impl",
6224
+ "interface_name": "openzeppelin_introspection::interface::ISRC5"
6225
+ },
6226
+ {
6227
+ "type": "interface",
6228
+ "name": "openzeppelin_introspection::interface::ISRC5",
6229
+ "items": [
6230
+ {
6231
+ "type": "function",
6232
+ "name": "supports_interface",
6233
+ "inputs": [
6234
+ {
6235
+ "name": "interface_id",
6236
+ "type": "core::felt252"
6237
+ }
6238
+ ],
6239
+ "outputs": [
6240
+ {
6241
+ "type": "core::bool"
6242
+ }
6243
+ ],
6244
+ "state_mutability": "view"
6245
+ }
6246
+ ]
6247
+ },
6248
+ {
6249
+ "type": "constructor",
6250
+ "name": "constructor",
6251
+ "inputs": [
6252
+ {
6253
+ "name": "ip_club_nft_class_hash",
6254
+ "type": "core::starknet::class_hash::ClassHash"
6255
+ }
6256
+ ]
6257
+ },
6258
+ {
6259
+ "type": "event",
6260
+ "name": "openzeppelin_introspection::src5::SRC5Component::Event",
6261
+ "kind": "enum",
6262
+ "variants": []
6263
+ },
6264
+ {
6265
+ "type": "event",
6266
+ "name": "ip_club::events::NewClubCreated",
6267
+ "kind": "struct",
6268
+ "members": [
6269
+ {
6270
+ "name": "club_id",
6271
+ "type": "core::integer::u256",
6272
+ "kind": "key"
6273
+ },
6274
+ {
6275
+ "name": "creator",
6276
+ "type": "core::starknet::contract_address::ContractAddress",
6277
+ "kind": "key"
6278
+ },
6279
+ {
6280
+ "name": "club_nft",
6281
+ "type": "core::starknet::contract_address::ContractAddress",
6282
+ "kind": "data"
6283
+ },
6284
+ {
6285
+ "name": "metadata_uri",
6286
+ "type": "core::byte_array::ByteArray",
6287
+ "kind": "data"
6288
+ },
6289
+ {
6290
+ "name": "timestamp",
6291
+ "type": "core::integer::u64",
6292
+ "kind": "data"
6293
+ }
6294
+ ]
6295
+ },
6296
+ {
6297
+ "type": "event",
6298
+ "name": "ip_club::events::ClubStatusUpdated",
6299
+ "kind": "struct",
6300
+ "members": [
6301
+ {
6302
+ "name": "club_id",
6303
+ "type": "core::integer::u256",
6304
+ "kind": "key"
6305
+ },
6306
+ {
6307
+ "name": "open",
6308
+ "type": "core::bool",
6309
+ "kind": "data"
6310
+ },
6311
+ {
6312
+ "name": "timestamp",
6313
+ "type": "core::integer::u64",
6314
+ "kind": "data"
6315
+ }
6316
+ ]
6317
+ },
6318
+ {
6319
+ "type": "event",
6320
+ "name": "ip_club::events::NewMember",
6321
+ "kind": "struct",
6322
+ "members": [
6323
+ {
6324
+ "name": "club_id",
6325
+ "type": "core::integer::u256",
6326
+ "kind": "key"
6327
+ },
6328
+ {
6329
+ "name": "member",
6330
+ "type": "core::starknet::contract_address::ContractAddress",
6331
+ "kind": "key"
6332
+ },
6333
+ {
6334
+ "name": "timestamp",
6335
+ "type": "core::integer::u64",
6336
+ "kind": "data"
6337
+ }
6338
+ ]
6339
+ },
6340
+ {
6341
+ "type": "event",
6342
+ "name": "ip_club::events::MemberLeft",
6343
+ "kind": "struct",
6344
+ "members": [
6345
+ {
6346
+ "name": "club_id",
6347
+ "type": "core::integer::u256",
6348
+ "kind": "key"
6349
+ },
6350
+ {
6351
+ "name": "member",
6352
+ "type": "core::starknet::contract_address::ContractAddress",
6353
+ "kind": "key"
6354
+ },
6355
+ {
6356
+ "name": "timestamp",
6357
+ "type": "core::integer::u64",
6358
+ "kind": "data"
6359
+ }
6360
+ ]
6361
+ },
6362
+ {
6363
+ "type": "event",
6364
+ "name": "ip_club::IPClub::IPClub::Event",
6365
+ "kind": "enum",
6366
+ "variants": [
6367
+ {
6368
+ "name": "SRC5Event",
6369
+ "type": "openzeppelin_introspection::src5::SRC5Component::Event",
6370
+ "kind": "flat"
6371
+ },
6372
+ {
6373
+ "name": "NewClubCreated",
6374
+ "type": "ip_club::events::NewClubCreated",
6375
+ "kind": "nested"
6376
+ },
6377
+ {
6378
+ "name": "ClubStatusUpdated",
6379
+ "type": "ip_club::events::ClubStatusUpdated",
6380
+ "kind": "nested"
6381
+ },
6382
+ {
6383
+ "name": "NewMember",
6384
+ "type": "ip_club::events::NewMember",
6385
+ "kind": "nested"
6386
+ },
6387
+ {
6388
+ "name": "MemberLeft",
6389
+ "type": "ip_club::events::MemberLeft",
6390
+ "kind": "nested"
6391
+ }
6392
+ ]
6393
+ }
6394
+ ];
6395
+
6396
+ // src/abis/ipClubNft.ts
6397
+ var IPClubNFTABI = [
6398
+ {
6399
+ "type": "impl",
6400
+ "name": "IIPClubNFTImpl",
6401
+ "interface_name": "ip_club::interfaces::IIPClubNFT::IIPClubNFT"
6402
+ },
6403
+ {
6404
+ "type": "struct",
6405
+ "name": "core::integer::u256",
6406
+ "members": [
6407
+ {
6408
+ "name": "low",
6409
+ "type": "core::integer::u128"
6410
+ },
6411
+ {
6412
+ "name": "high",
6413
+ "type": "core::integer::u128"
6414
+ }
6415
+ ]
6416
+ },
6417
+ {
6418
+ "type": "enum",
6419
+ "name": "core::bool",
6420
+ "variants": [
6421
+ {
6422
+ "name": "False",
6423
+ "type": "()"
6424
+ },
6425
+ {
6426
+ "name": "True",
6427
+ "type": "()"
6428
+ }
6429
+ ]
6430
+ },
6431
+ {
6432
+ "type": "interface",
6433
+ "name": "ip_club::interfaces::IIPClubNFT::IIPClubNFT",
6434
+ "items": [
6435
+ {
6436
+ "type": "function",
6437
+ "name": "mint",
6438
+ "inputs": [
6439
+ {
6440
+ "name": "recipient",
6441
+ "type": "core::starknet::contract_address::ContractAddress"
6442
+ }
6443
+ ],
6444
+ "outputs": [],
6445
+ "state_mutability": "external"
6446
+ },
6447
+ {
6448
+ "type": "function",
6449
+ "name": "burn",
6450
+ "inputs": [
6451
+ {
6452
+ "name": "member",
6453
+ "type": "core::starknet::contract_address::ContractAddress"
6454
+ },
6455
+ {
6456
+ "name": "token_id",
6457
+ "type": "core::integer::u256"
6458
+ }
6459
+ ],
6460
+ "outputs": [],
6461
+ "state_mutability": "external"
6462
+ },
6463
+ {
6464
+ "type": "function",
6465
+ "name": "has_nft",
6466
+ "inputs": [
6467
+ {
6468
+ "name": "user",
6469
+ "type": "core::starknet::contract_address::ContractAddress"
6470
+ }
6471
+ ],
6472
+ "outputs": [
6473
+ {
6474
+ "type": "core::bool"
6475
+ }
6476
+ ],
6477
+ "state_mutability": "view"
6478
+ },
6479
+ {
6480
+ "type": "function",
6481
+ "name": "get_nft_creator",
6482
+ "inputs": [],
6483
+ "outputs": [
6484
+ {
6485
+ "type": "core::starknet::contract_address::ContractAddress"
6486
+ }
6487
+ ],
6488
+ "state_mutability": "view"
6489
+ },
6490
+ {
6491
+ "type": "function",
6492
+ "name": "get_ip_club_manager",
6493
+ "inputs": [],
6494
+ "outputs": [
6495
+ {
6496
+ "type": "core::starknet::contract_address::ContractAddress"
6497
+ }
6498
+ ],
6499
+ "state_mutability": "view"
6500
+ },
6501
+ {
6502
+ "type": "function",
6503
+ "name": "get_associated_club_id",
6504
+ "inputs": [],
6505
+ "outputs": [
6506
+ {
6507
+ "type": "core::integer::u256"
6508
+ }
6509
+ ],
6510
+ "state_mutability": "view"
6511
+ },
6512
+ {
6513
+ "type": "function",
6514
+ "name": "get_last_minted_id",
6515
+ "inputs": [],
6516
+ "outputs": [
6517
+ {
6518
+ "type": "core::integer::u256"
6519
+ }
6520
+ ],
6521
+ "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
+ },
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
+ {
6563
+ "type": "function",
6564
+ "name": "balance_of",
6565
+ "inputs": [
6566
+ {
6567
+ "name": "account",
6568
+ "type": "core::starknet::contract_address::ContractAddress"
6569
+ }
6570
+ ],
6571
+ "outputs": [
6572
+ {
6573
+ "type": "core::integer::u256"
6574
+ }
6575
+ ],
6576
+ "state_mutability": "view"
6577
+ },
6578
+ {
6579
+ "type": "function",
6580
+ "name": "owner_of",
6581
+ "inputs": [
6582
+ {
6583
+ "name": "token_id",
6584
+ "type": "core::integer::u256"
6585
+ }
6586
+ ],
6587
+ "outputs": [
6588
+ {
6589
+ "type": "core::starknet::contract_address::ContractAddress"
6590
+ }
6591
+ ],
6592
+ "state_mutability": "view"
6593
+ },
6594
+ {
6595
+ "type": "function",
6596
+ "name": "safe_transfer_from",
6597
+ "inputs": [
6598
+ {
6599
+ "name": "from",
6600
+ "type": "core::starknet::contract_address::ContractAddress"
6601
+ },
6602
+ {
6603
+ "name": "to",
6604
+ "type": "core::starknet::contract_address::ContractAddress"
6605
+ },
6606
+ {
6607
+ "name": "token_id",
6608
+ "type": "core::integer::u256"
6609
+ },
6610
+ {
6611
+ "name": "data",
6612
+ "type": "core::array::Span::<core::felt252>"
6613
+ }
6614
+ ],
6615
+ "outputs": [],
6616
+ "state_mutability": "external"
6617
+ },
6618
+ {
6619
+ "type": "function",
6620
+ "name": "transfer_from",
6621
+ "inputs": [
6622
+ {
6623
+ "name": "from",
6624
+ "type": "core::starknet::contract_address::ContractAddress"
6625
+ },
6626
+ {
6627
+ "name": "to",
6628
+ "type": "core::starknet::contract_address::ContractAddress"
6629
+ },
6630
+ {
6631
+ "name": "token_id",
6632
+ "type": "core::integer::u256"
6633
+ }
6634
+ ],
6635
+ "outputs": [],
6636
+ "state_mutability": "external"
6637
+ },
6638
+ {
6639
+ "type": "function",
6640
+ "name": "approve",
6641
+ "inputs": [
6642
+ {
6643
+ "name": "to",
6644
+ "type": "core::starknet::contract_address::ContractAddress"
6645
+ },
6646
+ {
6647
+ "name": "token_id",
6648
+ "type": "core::integer::u256"
6649
+ }
6650
+ ],
6651
+ "outputs": [],
6652
+ "state_mutability": "external"
6653
+ },
6654
+ {
6655
+ "type": "function",
6656
+ "name": "set_approval_for_all",
6657
+ "inputs": [
6658
+ {
6659
+ "name": "operator",
6660
+ "type": "core::starknet::contract_address::ContractAddress"
6661
+ },
6662
+ {
6663
+ "name": "approved",
6664
+ "type": "core::bool"
6665
+ }
6666
+ ],
6667
+ "outputs": [],
6668
+ "state_mutability": "external"
6669
+ },
6670
+ {
6671
+ "type": "function",
6672
+ "name": "get_approved",
6673
+ "inputs": [
6674
+ {
6675
+ "name": "token_id",
6676
+ "type": "core::integer::u256"
6677
+ }
6678
+ ],
6679
+ "outputs": [
6680
+ {
6681
+ "type": "core::starknet::contract_address::ContractAddress"
6682
+ }
6683
+ ],
6684
+ "state_mutability": "view"
6685
+ },
6686
+ {
6687
+ "type": "function",
6688
+ "name": "is_approved_for_all",
6689
+ "inputs": [
6690
+ {
6691
+ "name": "owner",
6692
+ "type": "core::starknet::contract_address::ContractAddress"
6693
+ },
6694
+ {
6695
+ "name": "operator",
6696
+ "type": "core::starknet::contract_address::ContractAddress"
6697
+ }
6698
+ ],
6699
+ "outputs": [
6700
+ {
6701
+ "type": "core::bool"
6702
+ }
6703
+ ],
6704
+ "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
+ },
6760
+ {
6761
+ "type": "function",
6762
+ "name": "balanceOf",
6763
+ "inputs": [
6764
+ {
6765
+ "name": "account",
6766
+ "type": "core::starknet::contract_address::ContractAddress"
6767
+ }
6768
+ ],
6769
+ "outputs": [
6770
+ {
6771
+ "type": "core::integer::u256"
6772
+ }
6773
+ ],
6774
+ "state_mutability": "view"
6775
+ },
6776
+ {
6777
+ "type": "function",
6778
+ "name": "ownerOf",
6779
+ "inputs": [
6780
+ {
6781
+ "name": "tokenId",
6782
+ "type": "core::integer::u256"
6783
+ }
6784
+ ],
6785
+ "outputs": [
6786
+ {
6787
+ "type": "core::starknet::contract_address::ContractAddress"
6788
+ }
6789
+ ],
6790
+ "state_mutability": "view"
6791
+ },
6792
+ {
6793
+ "type": "function",
6794
+ "name": "safeTransferFrom",
6795
+ "inputs": [
6796
+ {
6797
+ "name": "from",
6798
+ "type": "core::starknet::contract_address::ContractAddress"
6799
+ },
6800
+ {
6801
+ "name": "to",
6802
+ "type": "core::starknet::contract_address::ContractAddress"
6803
+ },
6804
+ {
6805
+ "name": "tokenId",
6806
+ "type": "core::integer::u256"
6807
+ },
6808
+ {
6809
+ "name": "data",
6810
+ "type": "core::array::Span::<core::felt252>"
6811
+ }
6812
+ ],
6813
+ "outputs": [],
6814
+ "state_mutability": "external"
6815
+ },
6816
+ {
6817
+ "type": "function",
6818
+ "name": "transferFrom",
6819
+ "inputs": [
6820
+ {
6821
+ "name": "from",
6822
+ "type": "core::starknet::contract_address::ContractAddress"
6823
+ },
6824
+ {
6825
+ "name": "to",
6826
+ "type": "core::starknet::contract_address::ContractAddress"
6827
+ },
6828
+ {
6829
+ "name": "tokenId",
6830
+ "type": "core::integer::u256"
6831
+ }
6832
+ ],
6833
+ "outputs": [],
6834
+ "state_mutability": "external"
6835
+ },
6836
+ {
6837
+ "type": "function",
6838
+ "name": "setApprovalForAll",
6839
+ "inputs": [
6840
+ {
6841
+ "name": "operator",
6842
+ "type": "core::starknet::contract_address::ContractAddress"
6843
+ },
6844
+ {
6845
+ "name": "approved",
6846
+ "type": "core::bool"
6847
+ }
6848
+ ],
6849
+ "outputs": [],
6850
+ "state_mutability": "external"
6851
+ },
6852
+ {
6853
+ "type": "function",
6854
+ "name": "getApproved",
6855
+ "inputs": [
6856
+ {
6857
+ "name": "tokenId",
6858
+ "type": "core::integer::u256"
6859
+ }
6860
+ ],
6861
+ "outputs": [
6862
+ {
6863
+ "type": "core::starknet::contract_address::ContractAddress"
6864
+ }
6865
+ ],
6866
+ "state_mutability": "view"
6867
+ },
6868
+ {
6869
+ "type": "function",
6870
+ "name": "isApprovedForAll",
6871
+ "inputs": [
6872
+ {
6873
+ "name": "owner",
6874
+ "type": "core::starknet::contract_address::ContractAddress"
6875
+ },
6876
+ {
6877
+ "name": "operator",
6878
+ "type": "core::starknet::contract_address::ContractAddress"
6879
+ }
6880
+ ],
6881
+ "outputs": [
6882
+ {
6883
+ "type": "core::bool"
6884
+ }
6885
+ ],
6886
+ "state_mutability": "view"
6887
+ },
6888
+ {
6889
+ "type": "function",
6890
+ "name": "tokenURI",
6891
+ "inputs": [
6892
+ {
6893
+ "name": "tokenId",
6894
+ "type": "core::integer::u256"
6895
+ }
6896
+ ],
6897
+ "outputs": [
6898
+ {
6899
+ "type": "core::byte_array::ByteArray"
6900
+ }
6901
+ ],
6902
+ "state_mutability": "view"
6903
+ }
6904
+ ]
6905
+ },
6906
+ {
6907
+ "type": "constructor",
6908
+ "name": "constructor",
6909
+ "inputs": [
6910
+ {
6911
+ "name": "name",
6912
+ "type": "core::byte_array::ByteArray"
6913
+ },
6914
+ {
6915
+ "name": "symbol",
6916
+ "type": "core::byte_array::ByteArray"
6917
+ },
6918
+ {
6919
+ "name": "club_id",
6920
+ "type": "core::integer::u256"
6921
+ },
6922
+ {
6923
+ "name": "creator",
6924
+ "type": "core::starknet::contract_address::ContractAddress"
6925
+ },
6926
+ {
6927
+ "name": "ip_club_manager",
6928
+ "type": "core::starknet::contract_address::ContractAddress"
6929
+ },
6930
+ {
6931
+ "name": "metadata_uri",
6932
+ "type": "core::byte_array::ByteArray"
6933
+ }
6934
+ ]
6935
+ },
6936
+ {
6937
+ "type": "event",
6938
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Transfer",
6939
+ "kind": "struct",
6940
+ "members": [
6941
+ {
6942
+ "name": "from",
6943
+ "type": "core::starknet::contract_address::ContractAddress",
6944
+ "kind": "key"
6945
+ },
6946
+ {
6947
+ "name": "to",
6948
+ "type": "core::starknet::contract_address::ContractAddress",
6949
+ "kind": "key"
6950
+ },
6951
+ {
6952
+ "name": "token_id",
6953
+ "type": "core::integer::u256",
6954
+ "kind": "key"
6955
+ }
6956
+ ]
6957
+ },
6958
+ {
6959
+ "type": "event",
6960
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Approval",
6961
+ "kind": "struct",
6962
+ "members": [
6963
+ {
6964
+ "name": "owner",
6965
+ "type": "core::starknet::contract_address::ContractAddress",
6966
+ "kind": "key"
6967
+ },
6968
+ {
6969
+ "name": "approved",
6970
+ "type": "core::starknet::contract_address::ContractAddress",
6971
+ "kind": "key"
6972
+ },
6973
+ {
6974
+ "name": "token_id",
6975
+ "type": "core::integer::u256",
6976
+ "kind": "key"
6977
+ }
6978
+ ]
6979
+ },
6980
+ {
6981
+ "type": "event",
6982
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll",
6983
+ "kind": "struct",
6984
+ "members": [
6985
+ {
6986
+ "name": "owner",
6987
+ "type": "core::starknet::contract_address::ContractAddress",
6988
+ "kind": "key"
6989
+ },
6990
+ {
6991
+ "name": "operator",
6992
+ "type": "core::starknet::contract_address::ContractAddress",
6993
+ "kind": "key"
6994
+ },
6995
+ {
6996
+ "name": "approved",
6997
+ "type": "core::bool",
6998
+ "kind": "data"
6999
+ }
7000
+ ]
7001
+ },
7002
+ {
7003
+ "type": "event",
7004
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Event",
7005
+ "kind": "enum",
7006
+ "variants": [
7007
+ {
7008
+ "name": "Transfer",
7009
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Transfer",
7010
+ "kind": "nested"
7011
+ },
7012
+ {
7013
+ "name": "Approval",
7014
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Approval",
7015
+ "kind": "nested"
7016
+ },
7017
+ {
7018
+ "name": "ApprovalForAll",
7019
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll",
7020
+ "kind": "nested"
7021
+ }
7022
+ ]
7023
+ },
7024
+ {
7025
+ "type": "event",
7026
+ "name": "openzeppelin_introspection::src5::SRC5Component::Event",
7027
+ "kind": "enum",
7028
+ "variants": []
7029
+ },
7030
+ {
7031
+ "type": "event",
7032
+ "name": "ip_club::IPClubNFT::IPClubNFT::Event",
7033
+ "kind": "enum",
7034
+ "variants": [
7035
+ {
7036
+ "name": "ERC721Event",
7037
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Event",
7038
+ "kind": "flat"
7039
+ },
7040
+ {
7041
+ "name": "SRC5Event",
7042
+ "type": "openzeppelin_introspection::src5::SRC5Component::Event",
7043
+ "kind": "flat"
7044
+ }
7045
+ ]
7046
+ }
7047
+ ];
7048
+
7049
+ // src/abis/ipSponsorship.ts
7050
+ var IPSponsorshipABI = [
7051
+ {
7052
+ "type": "impl",
7053
+ "name": "IPSponsorshipImpl",
7054
+ "interface_name": "ip_sponsorship::interface::IIPSponsorship"
7055
+ },
7056
+ {
7057
+ "type": "struct",
7058
+ "name": "core::integer::u256",
7059
+ "members": [
7060
+ {
7061
+ "name": "low",
7062
+ "type": "core::integer::u128"
7063
+ },
7064
+ {
7065
+ "name": "high",
7066
+ "type": "core::integer::u128"
7067
+ }
7068
+ ]
7069
+ },
7070
+ {
7071
+ "type": "struct",
7072
+ "name": "core::byte_array::ByteArray",
7073
+ "members": [
7074
+ {
7075
+ "name": "data",
7076
+ "type": "core::array::Array::<core::bytes_31::bytes31>"
7077
+ },
7078
+ {
7079
+ "name": "pending_word",
7080
+ "type": "core::felt252"
7081
+ },
7082
+ {
7083
+ "name": "pending_word_len",
7084
+ "type": "core::internal::bounded_int::BoundedInt::<0, 30>"
7085
+ }
7086
+ ]
7087
+ },
7088
+ {
7089
+ "type": "enum",
7090
+ "name": "core::bool",
7091
+ "variants": [
7092
+ {
7093
+ "name": "False",
7094
+ "type": "()"
7095
+ },
7096
+ {
7097
+ "name": "True",
7098
+ "type": "()"
7099
+ }
7100
+ ]
7101
+ },
7102
+ {
7103
+ "type": "enum",
7104
+ "name": "core::option::Option::<core::starknet::contract_address::ContractAddress>",
7105
+ "variants": [
7106
+ {
7107
+ "name": "Some",
7108
+ "type": "core::starknet::contract_address::ContractAddress"
7109
+ },
7110
+ {
7111
+ "name": "None",
7112
+ "type": "()"
7113
+ }
7114
+ ]
7115
+ },
7116
+ {
7117
+ "type": "struct",
7118
+ "name": "ip_sponsorship::types::SponsorshipOffer",
7119
+ "members": [
7120
+ {
7121
+ "name": "author",
7122
+ "type": "core::starknet::contract_address::ContractAddress"
7123
+ },
7124
+ {
7125
+ "name": "nft_contract",
7126
+ "type": "core::starknet::contract_address::ContractAddress"
7127
+ },
7128
+ {
7129
+ "name": "token_id",
7130
+ "type": "core::integer::u256"
7131
+ },
7132
+ {
7133
+ "name": "min_amount",
7134
+ "type": "core::integer::u256"
7135
+ },
7136
+ {
7137
+ "name": "duration",
7138
+ "type": "core::integer::u64"
7139
+ },
7140
+ {
7141
+ "name": "payment_token",
7142
+ "type": "core::starknet::contract_address::ContractAddress"
7143
+ },
7144
+ {
7145
+ "name": "license_terms_uri",
7146
+ "type": "core::byte_array::ByteArray"
7147
+ },
7148
+ {
7149
+ "name": "transferable",
7150
+ "type": "core::bool"
7151
+ },
7152
+ {
7153
+ "name": "specific_sponsor",
7154
+ "type": "core::option::Option::<core::starknet::contract_address::ContractAddress>"
7155
+ },
7156
+ {
7157
+ "name": "open",
7158
+ "type": "core::bool"
7159
+ }
7160
+ ]
7161
+ },
7162
+ {
7163
+ "type": "struct",
7164
+ "name": "ip_sponsorship::types::License",
7165
+ "members": [
7166
+ {
7167
+ "name": "author",
7168
+ "type": "core::starknet::contract_address::ContractAddress"
7169
+ },
7170
+ {
7171
+ "name": "sponsor",
7172
+ "type": "core::starknet::contract_address::ContractAddress"
7173
+ },
7174
+ {
7175
+ "name": "nft_contract",
7176
+ "type": "core::starknet::contract_address::ContractAddress"
7177
+ },
7178
+ {
7179
+ "name": "token_id",
7180
+ "type": "core::integer::u256"
7181
+ },
7182
+ {
7183
+ "name": "amount_paid",
7184
+ "type": "core::integer::u256"
7185
+ },
7186
+ {
7187
+ "name": "expires_at",
7188
+ "type": "core::integer::u64"
7189
+ },
7190
+ {
7191
+ "name": "transferable",
7192
+ "type": "core::bool"
7193
+ },
7194
+ {
7195
+ "name": "license_terms_uri",
7196
+ "type": "core::byte_array::ByteArray"
7197
+ }
7198
+ ]
7199
+ },
7200
+ {
7201
+ "type": "interface",
7202
+ "name": "ip_sponsorship::interface::IIPSponsorship",
7203
+ "items": [
7204
+ {
7205
+ "type": "function",
7206
+ "name": "create_offer",
7207
+ "inputs": [
7208
+ {
7209
+ "name": "nft_contract",
7210
+ "type": "core::starknet::contract_address::ContractAddress"
7211
+ },
7212
+ {
7213
+ "name": "token_id",
7214
+ "type": "core::integer::u256"
7215
+ },
7216
+ {
7217
+ "name": "min_amount",
7218
+ "type": "core::integer::u256"
7219
+ },
7220
+ {
7221
+ "name": "duration",
7222
+ "type": "core::integer::u64"
7223
+ },
7224
+ {
7225
+ "name": "payment_token",
7226
+ "type": "core::starknet::contract_address::ContractAddress"
7227
+ },
7228
+ {
7229
+ "name": "license_terms_uri",
7230
+ "type": "core::byte_array::ByteArray"
7231
+ },
7232
+ {
7233
+ "name": "transferable",
7234
+ "type": "core::bool"
7235
+ },
7236
+ {
7237
+ "name": "specific_sponsor",
7238
+ "type": "core::option::Option::<core::starknet::contract_address::ContractAddress>"
7239
+ }
7240
+ ],
7241
+ "outputs": [
7242
+ {
7243
+ "type": "core::integer::u256"
7244
+ }
7245
+ ],
7246
+ "state_mutability": "external"
7247
+ },
7248
+ {
7249
+ "type": "function",
7250
+ "name": "set_offer_open",
7251
+ "inputs": [
7252
+ {
7253
+ "name": "offer_id",
7254
+ "type": "core::integer::u256"
7255
+ },
7256
+ {
7257
+ "name": "open",
7258
+ "type": "core::bool"
7259
+ }
7260
+ ],
7261
+ "outputs": [],
7262
+ "state_mutability": "external"
7263
+ },
7264
+ {
7265
+ "type": "function",
7266
+ "name": "place_bid",
7267
+ "inputs": [
7268
+ {
7269
+ "name": "offer_id",
7270
+ "type": "core::integer::u256"
7271
+ },
7272
+ {
7273
+ "name": "amount",
7274
+ "type": "core::integer::u256"
7275
+ }
7276
+ ],
7277
+ "outputs": [],
7278
+ "state_mutability": "external"
7279
+ },
7280
+ {
7281
+ "type": "function",
7282
+ "name": "retract_bid",
7283
+ "inputs": [
7284
+ {
7285
+ "name": "offer_id",
7286
+ "type": "core::integer::u256"
7287
+ }
7288
+ ],
7289
+ "outputs": [],
7290
+ "state_mutability": "external"
7291
+ },
7292
+ {
7293
+ "type": "function",
7294
+ "name": "accept_bid",
7295
+ "inputs": [
7296
+ {
7297
+ "name": "offer_id",
7298
+ "type": "core::integer::u256"
7299
+ },
7300
+ {
7301
+ "name": "sponsor",
7302
+ "type": "core::starknet::contract_address::ContractAddress"
7303
+ }
7304
+ ],
7305
+ "outputs": [
7306
+ {
7307
+ "type": "core::integer::u256"
7308
+ }
7309
+ ],
7310
+ "state_mutability": "external"
7311
+ },
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
+ {
7329
+ "type": "function",
7330
+ "name": "get_offer",
7331
+ "inputs": [
7332
+ {
7333
+ "name": "offer_id",
7334
+ "type": "core::integer::u256"
7335
+ }
7336
+ ],
7337
+ "outputs": [
7338
+ {
7339
+ "type": "ip_sponsorship::types::SponsorshipOffer"
7340
+ }
7341
+ ],
7342
+ "state_mutability": "view"
7343
+ },
7344
+ {
7345
+ "type": "function",
7346
+ "name": "get_bid",
7347
+ "inputs": [
7348
+ {
7349
+ "name": "offer_id",
7350
+ "type": "core::integer::u256"
7351
+ },
7352
+ {
7353
+ "name": "sponsor",
7354
+ "type": "core::starknet::contract_address::ContractAddress"
7355
+ }
7356
+ ],
7357
+ "outputs": [
7358
+ {
7359
+ "type": "core::integer::u256"
7360
+ }
7361
+ ],
7362
+ "state_mutability": "view"
7363
+ },
7364
+ {
7365
+ "type": "function",
7366
+ "name": "get_license",
7367
+ "inputs": [
7368
+ {
7369
+ "name": "license_id",
7370
+ "type": "core::integer::u256"
7371
+ }
7372
+ ],
7373
+ "outputs": [
7374
+ {
7375
+ "type": "ip_sponsorship::types::License"
7376
+ }
7377
+ ],
7378
+ "state_mutability": "view"
7379
+ },
7380
+ {
7381
+ "type": "function",
7382
+ "name": "is_license_valid",
7383
+ "inputs": [
7384
+ {
7385
+ "name": "license_id",
7386
+ "type": "core::integer::u256"
7387
+ }
7388
+ ],
7389
+ "outputs": [
7390
+ {
7391
+ "type": "core::bool"
7392
+ }
7393
+ ],
7394
+ "state_mutability": "view"
7395
+ },
7396
+ {
7397
+ "type": "function",
7398
+ "name": "get_last_offer_id",
7399
+ "inputs": [],
7400
+ "outputs": [
7401
+ {
7402
+ "type": "core::integer::u256"
7403
+ }
7404
+ ],
7405
+ "state_mutability": "view"
7406
+ },
7407
+ {
7408
+ "type": "function",
7409
+ "name": "get_last_license_id",
7410
+ "inputs": [],
7411
+ "outputs": [
7412
+ {
7413
+ "type": "core::integer::u256"
7414
+ }
7415
+ ],
7416
+ "state_mutability": "view"
7417
+ }
7418
+ ]
7419
+ },
7420
+ {
7421
+ "type": "impl",
7422
+ "name": "SRC5Impl",
7423
+ "interface_name": "openzeppelin_introspection::interface::ISRC5"
7424
+ },
7425
+ {
7426
+ "type": "interface",
7427
+ "name": "openzeppelin_introspection::interface::ISRC5",
7428
+ "items": [
7429
+ {
7430
+ "type": "function",
7431
+ "name": "supports_interface",
7432
+ "inputs": [
7433
+ {
7434
+ "name": "interface_id",
7435
+ "type": "core::felt252"
7436
+ }
7437
+ ],
7438
+ "outputs": [
7439
+ {
7440
+ "type": "core::bool"
7441
+ }
7442
+ ],
7443
+ "state_mutability": "view"
7444
+ }
7445
+ ]
7446
+ },
7447
+ {
7448
+ "type": "constructor",
7449
+ "name": "constructor",
7450
+ "inputs": []
7451
+ },
7452
+ {
7453
+ "type": "event",
7454
+ "name": "openzeppelin_introspection::src5::SRC5Component::Event",
7455
+ "kind": "enum",
7456
+ "variants": []
7457
+ },
7458
+ {
7459
+ "type": "event",
7460
+ "name": "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated",
7461
+ "kind": "struct",
7462
+ "members": [
7463
+ {
7464
+ "name": "offer_id",
7465
+ "type": "core::integer::u256",
7466
+ "kind": "key"
7467
+ },
7468
+ {
7469
+ "name": "author",
7470
+ "type": "core::starknet::contract_address::ContractAddress",
7471
+ "kind": "key"
7472
+ },
7473
+ {
7474
+ "name": "nft_contract",
7475
+ "type": "core::starknet::contract_address::ContractAddress",
7476
+ "kind": "key"
7477
+ },
7478
+ {
7479
+ "name": "token_id",
7480
+ "type": "core::integer::u256",
7481
+ "kind": "data"
7482
+ },
7483
+ {
7484
+ "name": "min_amount",
7485
+ "type": "core::integer::u256",
7486
+ "kind": "data"
7487
+ },
7488
+ {
7489
+ "name": "duration",
7490
+ "type": "core::integer::u64",
7491
+ "kind": "data"
7492
+ },
7493
+ {
7494
+ "name": "payment_token",
7495
+ "type": "core::starknet::contract_address::ContractAddress",
7496
+ "kind": "data"
7497
+ },
7498
+ {
7499
+ "name": "license_terms_uri",
7500
+ "type": "core::byte_array::ByteArray",
7501
+ "kind": "data"
7502
+ },
7503
+ {
7504
+ "name": "transferable",
7505
+ "type": "core::bool",
7506
+ "kind": "data"
7507
+ },
7508
+ {
7509
+ "name": "specific_sponsor",
7510
+ "type": "core::option::Option::<core::starknet::contract_address::ContractAddress>",
7511
+ "kind": "data"
7512
+ },
7513
+ {
7514
+ "name": "created_at",
7515
+ "type": "core::integer::u64",
7516
+ "kind": "data"
7517
+ }
7518
+ ]
7519
+ },
7520
+ {
7521
+ "type": "event",
7522
+ "name": "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated",
7523
+ "kind": "struct",
7524
+ "members": [
7525
+ {
7526
+ "name": "offer_id",
7527
+ "type": "core::integer::u256",
7528
+ "kind": "key"
7529
+ },
7530
+ {
7531
+ "name": "open",
7532
+ "type": "core::bool",
7533
+ "kind": "data"
7534
+ },
7535
+ {
7536
+ "name": "updated_at",
7537
+ "type": "core::integer::u64",
7538
+ "kind": "data"
7539
+ }
7540
+ ]
7541
+ },
7542
+ {
7543
+ "type": "event",
7544
+ "name": "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced",
7545
+ "kind": "struct",
7546
+ "members": [
7547
+ {
7548
+ "name": "offer_id",
7549
+ "type": "core::integer::u256",
7550
+ "kind": "key"
7551
+ },
7552
+ {
7553
+ "name": "sponsor",
7554
+ "type": "core::starknet::contract_address::ContractAddress",
7555
+ "kind": "key"
7556
+ },
7557
+ {
7558
+ "name": "amount",
7559
+ "type": "core::integer::u256",
7560
+ "kind": "data"
7561
+ },
7562
+ {
7563
+ "name": "bid_at",
7564
+ "type": "core::integer::u64",
7565
+ "kind": "data"
7566
+ }
7567
+ ]
7568
+ },
7569
+ {
7570
+ "type": "event",
7571
+ "name": "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted",
7572
+ "kind": "struct",
7573
+ "members": [
7574
+ {
7575
+ "name": "offer_id",
7576
+ "type": "core::integer::u256",
7577
+ "kind": "key"
7578
+ },
7579
+ {
7580
+ "name": "sponsor",
7581
+ "type": "core::starknet::contract_address::ContractAddress",
7582
+ "kind": "key"
7583
+ },
7584
+ {
7585
+ "name": "retracted_at",
7586
+ "type": "core::integer::u64",
7587
+ "kind": "data"
7588
+ }
7589
+ ]
7590
+ },
7591
+ {
7592
+ "type": "event",
7593
+ "name": "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted",
7594
+ "kind": "struct",
7595
+ "members": [
7596
+ {
7597
+ "name": "offer_id",
7598
+ "type": "core::integer::u256",
7599
+ "kind": "key"
7600
+ },
7601
+ {
7602
+ "name": "license_id",
7603
+ "type": "core::integer::u256",
7604
+ "kind": "key"
7605
+ },
7606
+ {
7607
+ "name": "sponsor",
7608
+ "type": "core::starknet::contract_address::ContractAddress",
7609
+ "kind": "key"
7610
+ },
7611
+ {
7612
+ "name": "author",
7613
+ "type": "core::starknet::contract_address::ContractAddress",
7614
+ "kind": "data"
7615
+ },
7616
+ {
7617
+ "name": "amount",
7618
+ "type": "core::integer::u256",
7619
+ "kind": "data"
7620
+ },
7621
+ {
7622
+ "name": "expires_at",
7623
+ "type": "core::integer::u64",
7624
+ "kind": "data"
7625
+ }
7626
+ ]
7627
+ },
7628
+ {
7629
+ "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
+ },
7638
+ {
7639
+ "name": "from",
7640
+ "type": "core::starknet::contract_address::ContractAddress",
7641
+ "kind": "key"
7642
+ },
7643
+ {
7644
+ "name": "to",
7645
+ "type": "core::starknet::contract_address::ContractAddress",
7646
+ "kind": "key"
7647
+ },
7648
+ {
7649
+ "name": "transferred_at",
7650
+ "type": "core::integer::u64",
7651
+ "kind": "data"
7652
+ }
7653
+ ]
7654
+ },
7655
+ {
7656
+ "type": "event",
7657
+ "name": "ip_sponsorship::IPSponsorship::IPSponsorship::Event",
7658
+ "kind": "enum",
7659
+ "variants": [
7660
+ {
7661
+ "name": "SRC5Event",
7662
+ "type": "openzeppelin_introspection::src5::SRC5Component::Event",
7663
+ "kind": "flat"
7664
+ },
7665
+ {
7666
+ "name": "OfferCreated",
7667
+ "type": "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated",
7668
+ "kind": "nested"
7669
+ },
7670
+ {
7671
+ "name": "OfferStatusUpdated",
7672
+ "type": "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated",
7673
+ "kind": "nested"
7674
+ },
7675
+ {
7676
+ "name": "BidPlaced",
7677
+ "type": "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced",
7678
+ "kind": "nested"
7679
+ },
7680
+ {
7681
+ "name": "BidRetracted",
7682
+ "type": "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted",
7683
+ "kind": "nested"
7684
+ },
7685
+ {
7686
+ "name": "SponsorshipAccepted",
7687
+ "type": "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted",
7688
+ "kind": "nested"
7689
+ },
7690
+ {
7691
+ "name": "LicenseTransferred",
7692
+ "type": "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred",
7693
+ "kind": "nested"
7694
+ }
7695
+ ]
7696
+ }
7697
+ ];
7698
+
7699
+ // src/abis/ipGenesis.ts
7700
+ var IPGenesisABI = [
7701
+ {
7702
+ "type": "impl",
7703
+ "name": "MIPImpl",
7704
+ "interface_name": "mip::interfaces::IMIP"
7705
+ },
7706
+ {
7707
+ "type": "struct",
7708
+ "name": "core::byte_array::ByteArray",
7709
+ "members": [
7710
+ {
7711
+ "name": "data",
7712
+ "type": "core::array::Array::<core::bytes_31::bytes31>"
7713
+ },
7714
+ {
7715
+ "name": "pending_word",
7716
+ "type": "core::felt252"
7717
+ },
7718
+ {
7719
+ "name": "pending_word_len",
7720
+ "type": "core::internal::bounded_int::BoundedInt::<0, 30>"
7721
+ }
7722
+ ]
7723
+ },
7724
+ {
7725
+ "type": "struct",
7726
+ "name": "core::integer::u256",
7727
+ "members": [
7728
+ {
7729
+ "name": "low",
7730
+ "type": "core::integer::u128"
7731
+ },
7732
+ {
7733
+ "name": "high",
7734
+ "type": "core::integer::u128"
7735
+ }
7736
+ ]
7737
+ },
7738
+ {
7739
+ "type": "interface",
7740
+ "name": "mip::interfaces::IMIP",
7741
+ "items": [
7742
+ {
7743
+ "type": "function",
7744
+ "name": "mint_item",
7745
+ "inputs": [
7746
+ {
7747
+ "name": "recipient",
7748
+ "type": "core::starknet::contract_address::ContractAddress"
7749
+ },
7750
+ {
7751
+ "name": "uri",
7752
+ "type": "core::byte_array::ByteArray"
7753
+ }
7754
+ ],
7755
+ "outputs": [
7756
+ {
7757
+ "type": "core::integer::u256"
7758
+ }
7759
+ ],
7760
+ "state_mutability": "external"
7761
+ }
7762
+ ]
7763
+ },
7764
+ {
7765
+ "type": "impl",
7766
+ "name": "CounterImpl",
7767
+ "interface_name": "mip::interfaces::ICounter"
7768
+ },
7769
+ {
7770
+ "type": "interface",
7771
+ "name": "mip::interfaces::ICounter",
7772
+ "items": [
7773
+ {
7774
+ "type": "function",
7775
+ "name": "current",
7776
+ "inputs": [],
7777
+ "outputs": [
7778
+ {
7779
+ "type": "core::integer::u256"
7780
+ }
7781
+ ],
7782
+ "state_mutability": "view"
7783
+ },
7784
+ {
7785
+ "type": "function",
7786
+ "name": "increment",
7787
+ "inputs": [],
7788
+ "outputs": [],
7789
+ "state_mutability": "external"
7790
+ },
7791
+ {
7792
+ "type": "function",
7793
+ "name": "decrement",
7794
+ "inputs": [],
7795
+ "outputs": [],
7796
+ "state_mutability": "external"
7797
+ }
7798
+ ]
7799
+ },
7800
+ {
7801
+ "type": "impl",
7802
+ "name": "ERC721MixinImpl",
7803
+ "interface_name": "openzeppelin_token::erc721::interface::ERC721ABI"
7804
+ },
7805
+ {
7806
+ "type": "struct",
7807
+ "name": "core::array::Span::<core::felt252>",
7808
+ "members": [
7809
+ {
7810
+ "name": "snapshot",
7811
+ "type": "@core::array::Array::<core::felt252>"
7812
+ }
7813
+ ]
7814
+ },
7815
+ {
7816
+ "type": "enum",
7817
+ "name": "core::bool",
7818
+ "variants": [
7819
+ {
7820
+ "name": "False",
7821
+ "type": "()"
7822
+ },
7823
+ {
7824
+ "name": "True",
7825
+ "type": "()"
7826
+ }
7827
+ ]
7828
+ },
7829
+ {
7830
+ "type": "interface",
7831
+ "name": "openzeppelin_token::erc721::interface::ERC721ABI",
7832
+ "items": [
7833
+ {
7834
+ "type": "function",
7835
+ "name": "balance_of",
7836
+ "inputs": [
7837
+ {
7838
+ "name": "account",
7839
+ "type": "core::starknet::contract_address::ContractAddress"
7840
+ }
7841
+ ],
7842
+ "outputs": [
7843
+ {
7844
+ "type": "core::integer::u256"
7845
+ }
7846
+ ],
7847
+ "state_mutability": "view"
7848
+ },
7849
+ {
7850
+ "type": "function",
7851
+ "name": "owner_of",
7852
+ "inputs": [
7853
+ {
7854
+ "name": "token_id",
7855
+ "type": "core::integer::u256"
7856
+ }
7857
+ ],
7858
+ "outputs": [
7859
+ {
7860
+ "type": "core::starknet::contract_address::ContractAddress"
7861
+ }
7862
+ ],
7863
+ "state_mutability": "view"
7864
+ },
7865
+ {
7866
+ "type": "function",
7867
+ "name": "safe_transfer_from",
7868
+ "inputs": [
7869
+ {
7870
+ "name": "from",
7871
+ "type": "core::starknet::contract_address::ContractAddress"
7872
+ },
7873
+ {
7874
+ "name": "to",
7875
+ "type": "core::starknet::contract_address::ContractAddress"
7876
+ },
7877
+ {
7878
+ "name": "token_id",
7879
+ "type": "core::integer::u256"
7880
+ },
7881
+ {
7882
+ "name": "data",
7883
+ "type": "core::array::Span::<core::felt252>"
7884
+ }
7885
+ ],
7886
+ "outputs": [],
7887
+ "state_mutability": "external"
7888
+ },
7889
+ {
7890
+ "type": "function",
7891
+ "name": "transfer_from",
7892
+ "inputs": [
7893
+ {
7894
+ "name": "from",
7895
+ "type": "core::starknet::contract_address::ContractAddress"
7896
+ },
7897
+ {
7898
+ "name": "to",
7899
+ "type": "core::starknet::contract_address::ContractAddress"
7900
+ },
7901
+ {
7902
+ "name": "token_id",
7903
+ "type": "core::integer::u256"
7904
+ }
7905
+ ],
7906
+ "outputs": [],
7907
+ "state_mutability": "external"
7908
+ },
7909
+ {
7910
+ "type": "function",
7911
+ "name": "approve",
7912
+ "inputs": [
7913
+ {
7914
+ "name": "to",
7915
+ "type": "core::starknet::contract_address::ContractAddress"
7916
+ },
7917
+ {
7918
+ "name": "token_id",
7919
+ "type": "core::integer::u256"
7920
+ }
7921
+ ],
7922
+ "outputs": [],
7923
+ "state_mutability": "external"
7924
+ },
7925
+ {
7926
+ "type": "function",
7927
+ "name": "set_approval_for_all",
7928
+ "inputs": [
7929
+ {
7930
+ "name": "operator",
7931
+ "type": "core::starknet::contract_address::ContractAddress"
7932
+ },
7933
+ {
7934
+ "name": "approved",
7935
+ "type": "core::bool"
7936
+ }
7937
+ ],
7938
+ "outputs": [],
7939
+ "state_mutability": "external"
7940
+ },
7941
+ {
7942
+ "type": "function",
7943
+ "name": "get_approved",
7944
+ "inputs": [
7945
+ {
7946
+ "name": "token_id",
7947
+ "type": "core::integer::u256"
7948
+ }
7949
+ ],
7950
+ "outputs": [
7951
+ {
7952
+ "type": "core::starknet::contract_address::ContractAddress"
7953
+ }
7954
+ ],
7955
+ "state_mutability": "view"
7956
+ },
7957
+ {
7958
+ "type": "function",
7959
+ "name": "is_approved_for_all",
7960
+ "inputs": [
7961
+ {
7962
+ "name": "owner",
7963
+ "type": "core::starknet::contract_address::ContractAddress"
7964
+ },
7965
+ {
7966
+ "name": "operator",
7967
+ "type": "core::starknet::contract_address::ContractAddress"
7968
+ }
7969
+ ],
7970
+ "outputs": [
7971
+ {
7972
+ "type": "core::bool"
7973
+ }
7974
+ ],
7975
+ "state_mutability": "view"
7976
+ },
7977
+ {
7978
+ "type": "function",
7979
+ "name": "supports_interface",
7980
+ "inputs": [
7981
+ {
7982
+ "name": "interface_id",
7983
+ "type": "core::felt252"
7984
+ }
7985
+ ],
7986
+ "outputs": [
7987
+ {
7988
+ "type": "core::bool"
7989
+ }
7990
+ ],
7991
+ "state_mutability": "view"
7992
+ },
7993
+ {
7994
+ "type": "function",
7995
+ "name": "name",
7996
+ "inputs": [],
7997
+ "outputs": [
7998
+ {
7999
+ "type": "core::byte_array::ByteArray"
8000
+ }
8001
+ ],
8002
+ "state_mutability": "view"
8003
+ },
8004
+ {
8005
+ "type": "function",
8006
+ "name": "symbol",
8007
+ "inputs": [],
8008
+ "outputs": [
8009
+ {
8010
+ "type": "core::byte_array::ByteArray"
8011
+ }
8012
+ ],
8013
+ "state_mutability": "view"
8014
+ },
8015
+ {
8016
+ "type": "function",
8017
+ "name": "token_uri",
8018
+ "inputs": [
8019
+ {
8020
+ "name": "token_id",
8021
+ "type": "core::integer::u256"
8022
+ }
8023
+ ],
8024
+ "outputs": [
8025
+ {
8026
+ "type": "core::byte_array::ByteArray"
8027
+ }
8028
+ ],
8029
+ "state_mutability": "view"
8030
+ },
8031
+ {
8032
+ "type": "function",
8033
+ "name": "balanceOf",
8034
+ "inputs": [
8035
+ {
8036
+ "name": "account",
8037
+ "type": "core::starknet::contract_address::ContractAddress"
8038
+ }
8039
+ ],
8040
+ "outputs": [
8041
+ {
8042
+ "type": "core::integer::u256"
8043
+ }
8044
+ ],
8045
+ "state_mutability": "view"
8046
+ },
8047
+ {
8048
+ "type": "function",
8049
+ "name": "ownerOf",
8050
+ "inputs": [
8051
+ {
8052
+ "name": "tokenId",
8053
+ "type": "core::integer::u256"
8054
+ }
8055
+ ],
8056
+ "outputs": [
8057
+ {
8058
+ "type": "core::starknet::contract_address::ContractAddress"
8059
+ }
8060
+ ],
8061
+ "state_mutability": "view"
8062
+ },
8063
+ {
8064
+ "type": "function",
8065
+ "name": "safeTransferFrom",
8066
+ "inputs": [
8067
+ {
8068
+ "name": "from",
8069
+ "type": "core::starknet::contract_address::ContractAddress"
8070
+ },
8071
+ {
8072
+ "name": "to",
8073
+ "type": "core::starknet::contract_address::ContractAddress"
8074
+ },
8075
+ {
8076
+ "name": "tokenId",
8077
+ "type": "core::integer::u256"
8078
+ },
8079
+ {
8080
+ "name": "data",
8081
+ "type": "core::array::Span::<core::felt252>"
8082
+ }
8083
+ ],
8084
+ "outputs": [],
8085
+ "state_mutability": "external"
8086
+ },
8087
+ {
8088
+ "type": "function",
8089
+ "name": "transferFrom",
8090
+ "inputs": [
8091
+ {
8092
+ "name": "from",
8093
+ "type": "core::starknet::contract_address::ContractAddress"
8094
+ },
8095
+ {
8096
+ "name": "to",
8097
+ "type": "core::starknet::contract_address::ContractAddress"
8098
+ },
8099
+ {
8100
+ "name": "tokenId",
8101
+ "type": "core::integer::u256"
8102
+ }
8103
+ ],
8104
+ "outputs": [],
8105
+ "state_mutability": "external"
8106
+ },
8107
+ {
8108
+ "type": "function",
8109
+ "name": "setApprovalForAll",
8110
+ "inputs": [
8111
+ {
8112
+ "name": "operator",
8113
+ "type": "core::starknet::contract_address::ContractAddress"
8114
+ },
8115
+ {
8116
+ "name": "approved",
8117
+ "type": "core::bool"
8118
+ }
8119
+ ],
8120
+ "outputs": [],
8121
+ "state_mutability": "external"
8122
+ },
8123
+ {
8124
+ "type": "function",
8125
+ "name": "getApproved",
8126
+ "inputs": [
8127
+ {
8128
+ "name": "tokenId",
8129
+ "type": "core::integer::u256"
8130
+ }
8131
+ ],
8132
+ "outputs": [
8133
+ {
8134
+ "type": "core::starknet::contract_address::ContractAddress"
8135
+ }
8136
+ ],
8137
+ "state_mutability": "view"
8138
+ },
8139
+ {
8140
+ "type": "function",
8141
+ "name": "isApprovedForAll",
8142
+ "inputs": [
8143
+ {
8144
+ "name": "owner",
8145
+ "type": "core::starknet::contract_address::ContractAddress"
8146
+ },
8147
+ {
8148
+ "name": "operator",
8149
+ "type": "core::starknet::contract_address::ContractAddress"
8150
+ }
8151
+ ],
8152
+ "outputs": [
8153
+ {
8154
+ "type": "core::bool"
8155
+ }
8156
+ ],
8157
+ "state_mutability": "view"
8158
+ },
8159
+ {
8160
+ "type": "function",
8161
+ "name": "tokenURI",
8162
+ "inputs": [
8163
+ {
8164
+ "name": "tokenId",
8165
+ "type": "core::integer::u256"
8166
+ }
8167
+ ],
8168
+ "outputs": [
8169
+ {
8170
+ "type": "core::byte_array::ByteArray"
8171
+ }
8172
+ ],
8173
+ "state_mutability": "view"
8174
+ }
8175
+ ]
8176
+ },
8177
+ {
8178
+ "type": "impl",
8179
+ "name": "OwnableMixinImpl",
8180
+ "interface_name": "openzeppelin_access::ownable::interface::OwnableABI"
8181
+ },
8182
+ {
8183
+ "type": "interface",
8184
+ "name": "openzeppelin_access::ownable::interface::OwnableABI",
8185
+ "items": [
8186
+ {
8187
+ "type": "function",
8188
+ "name": "owner",
8189
+ "inputs": [],
8190
+ "outputs": [
8191
+ {
8192
+ "type": "core::starknet::contract_address::ContractAddress"
8193
+ }
8194
+ ],
8195
+ "state_mutability": "view"
8196
+ },
8197
+ {
8198
+ "type": "function",
8199
+ "name": "transfer_ownership",
8200
+ "inputs": [
8201
+ {
8202
+ "name": "new_owner",
8203
+ "type": "core::starknet::contract_address::ContractAddress"
8204
+ }
8205
+ ],
8206
+ "outputs": [],
8207
+ "state_mutability": "external"
8208
+ },
8209
+ {
8210
+ "type": "function",
8211
+ "name": "renounce_ownership",
8212
+ "inputs": [],
8213
+ "outputs": [],
8214
+ "state_mutability": "external"
8215
+ },
8216
+ {
8217
+ "type": "function",
8218
+ "name": "transferOwnership",
8219
+ "inputs": [
8220
+ {
8221
+ "name": "newOwner",
8222
+ "type": "core::starknet::contract_address::ContractAddress"
8223
+ }
8224
+ ],
8225
+ "outputs": [],
8226
+ "state_mutability": "external"
8227
+ },
8228
+ {
8229
+ "type": "function",
8230
+ "name": "renounceOwnership",
8231
+ "inputs": [],
8232
+ "outputs": [],
8233
+ "state_mutability": "external"
8234
+ }
8235
+ ]
8236
+ },
8237
+ {
8238
+ "type": "impl",
8239
+ "name": "ERC721EnumerableImpl",
8240
+ "interface_name": "openzeppelin_token::erc721::extensions::erc721_enumerable::interface::IERC721Enumerable"
8241
+ },
8242
+ {
8243
+ "type": "interface",
8244
+ "name": "openzeppelin_token::erc721::extensions::erc721_enumerable::interface::IERC721Enumerable",
8245
+ "items": [
8246
+ {
8247
+ "type": "function",
8248
+ "name": "total_supply",
8249
+ "inputs": [],
8250
+ "outputs": [
8251
+ {
8252
+ "type": "core::integer::u256"
8253
+ }
8254
+ ],
8255
+ "state_mutability": "view"
8256
+ },
8257
+ {
8258
+ "type": "function",
8259
+ "name": "token_by_index",
8260
+ "inputs": [
8261
+ {
8262
+ "name": "index",
8263
+ "type": "core::integer::u256"
8264
+ }
8265
+ ],
8266
+ "outputs": [
8267
+ {
8268
+ "type": "core::integer::u256"
8269
+ }
8270
+ ],
8271
+ "state_mutability": "view"
8272
+ },
8273
+ {
8274
+ "type": "function",
8275
+ "name": "token_of_owner_by_index",
8276
+ "inputs": [
8277
+ {
8278
+ "name": "owner",
8279
+ "type": "core::starknet::contract_address::ContractAddress"
8280
+ },
8281
+ {
8282
+ "name": "index",
8283
+ "type": "core::integer::u256"
8284
+ }
8285
+ ],
8286
+ "outputs": [
8287
+ {
8288
+ "type": "core::integer::u256"
8289
+ }
8290
+ ],
8291
+ "state_mutability": "view"
8292
+ }
8293
+ ]
8294
+ },
8295
+ {
8296
+ "type": "constructor",
8297
+ "name": "constructor",
8298
+ "inputs": [
8299
+ {
8300
+ "name": "owner",
8301
+ "type": "core::starknet::contract_address::ContractAddress"
8302
+ }
8303
+ ]
8304
+ },
8305
+ {
8306
+ "type": "event",
8307
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Transfer",
8308
+ "kind": "struct",
8309
+ "members": [
8310
+ {
8311
+ "name": "from",
8312
+ "type": "core::starknet::contract_address::ContractAddress",
8313
+ "kind": "key"
8314
+ },
8315
+ {
8316
+ "name": "to",
8317
+ "type": "core::starknet::contract_address::ContractAddress",
8318
+ "kind": "key"
8319
+ },
8320
+ {
8321
+ "name": "token_id",
8322
+ "type": "core::integer::u256",
8323
+ "kind": "key"
8324
+ }
8325
+ ]
8326
+ },
8327
+ {
8328
+ "type": "event",
8329
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Approval",
8330
+ "kind": "struct",
8331
+ "members": [
8332
+ {
8333
+ "name": "owner",
8334
+ "type": "core::starknet::contract_address::ContractAddress",
8335
+ "kind": "key"
8336
+ },
8337
+ {
8338
+ "name": "approved",
8339
+ "type": "core::starknet::contract_address::ContractAddress",
8340
+ "kind": "key"
8341
+ },
8342
+ {
8343
+ "name": "token_id",
8344
+ "type": "core::integer::u256",
8345
+ "kind": "key"
8346
+ }
8347
+ ]
8348
+ },
8349
+ {
8350
+ "type": "event",
8351
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll",
8352
+ "kind": "struct",
8353
+ "members": [
8354
+ {
8355
+ "name": "owner",
8356
+ "type": "core::starknet::contract_address::ContractAddress",
8357
+ "kind": "key"
8358
+ },
8359
+ {
8360
+ "name": "operator",
8361
+ "type": "core::starknet::contract_address::ContractAddress",
8362
+ "kind": "key"
8363
+ },
8364
+ {
8365
+ "name": "approved",
8366
+ "type": "core::bool",
8367
+ "kind": "data"
8368
+ }
8369
+ ]
8370
+ },
8371
+ {
8372
+ "type": "event",
8373
+ "name": "openzeppelin_token::erc721::erc721::ERC721Component::Event",
8374
+ "kind": "enum",
8375
+ "variants": [
8376
+ {
8377
+ "name": "Transfer",
8378
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Transfer",
8379
+ "kind": "nested"
8380
+ },
8381
+ {
8382
+ "name": "Approval",
8383
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Approval",
8384
+ "kind": "nested"
8385
+ },
8386
+ {
8387
+ "name": "ApprovalForAll",
8388
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll",
8389
+ "kind": "nested"
8390
+ }
8391
+ ]
8392
+ },
8393
+ {
8394
+ "type": "event",
8395
+ "name": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred",
8396
+ "kind": "struct",
8397
+ "members": [
8398
+ {
8399
+ "name": "previous_owner",
8400
+ "type": "core::starknet::contract_address::ContractAddress",
8401
+ "kind": "key"
8402
+ },
8403
+ {
8404
+ "name": "new_owner",
8405
+ "type": "core::starknet::contract_address::ContractAddress",
8406
+ "kind": "key"
8407
+ }
8408
+ ]
8409
+ },
8410
+ {
8411
+ "type": "event",
8412
+ "name": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted",
8413
+ "kind": "struct",
8414
+ "members": [
8415
+ {
8416
+ "name": "previous_owner",
8417
+ "type": "core::starknet::contract_address::ContractAddress",
8418
+ "kind": "key"
8419
+ },
8420
+ {
8421
+ "name": "new_owner",
8422
+ "type": "core::starknet::contract_address::ContractAddress",
8423
+ "kind": "key"
8424
+ }
8425
+ ]
8426
+ },
8427
+ {
8428
+ "type": "event",
8429
+ "name": "openzeppelin_access::ownable::ownable::OwnableComponent::Event",
8430
+ "kind": "enum",
8431
+ "variants": [
8432
+ {
8433
+ "name": "OwnershipTransferred",
8434
+ "type": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred",
8435
+ "kind": "nested"
8436
+ },
8437
+ {
8438
+ "name": "OwnershipTransferStarted",
8439
+ "type": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted",
8440
+ "kind": "nested"
8441
+ }
8442
+ ]
8443
+ },
8444
+ {
8445
+ "type": "event",
8446
+ "name": "openzeppelin_introspection::src5::SRC5Component::Event",
8447
+ "kind": "enum",
8448
+ "variants": []
8449
+ },
8450
+ {
8451
+ "type": "event",
8452
+ "name": "openzeppelin_token::erc721::extensions::erc721_enumerable::erc721_enumerable::ERC721EnumerableComponent::Event",
8453
+ "kind": "enum",
8454
+ "variants": []
8455
+ },
8456
+ {
8457
+ "type": "event",
8458
+ "name": "mip::mip::MIP::CounterComponent::CounterIncremented",
8459
+ "kind": "struct",
8460
+ "members": [
8461
+ {
8462
+ "name": "value",
8463
+ "type": "core::integer::u256",
8464
+ "kind": "data"
8465
+ }
8466
+ ]
8467
+ },
8468
+ {
8469
+ "type": "event",
8470
+ "name": "mip::mip::MIP::CounterComponent::CounterDecremented",
8471
+ "kind": "struct",
8472
+ "members": [
8473
+ {
8474
+ "name": "value",
8475
+ "type": "core::integer::u256",
8476
+ "kind": "data"
8477
+ }
8478
+ ]
8479
+ },
8480
+ {
8481
+ "type": "event",
8482
+ "name": "mip::mip::MIP::CounterComponent::Event",
8483
+ "kind": "enum",
8484
+ "variants": [
8485
+ {
8486
+ "name": "CounterIncremented",
8487
+ "type": "mip::mip::MIP::CounterComponent::CounterIncremented",
8488
+ "kind": "nested"
8489
+ },
8490
+ {
8491
+ "name": "CounterDecremented",
8492
+ "type": "mip::mip::MIP::CounterComponent::CounterDecremented",
8493
+ "kind": "nested"
8494
+ }
8495
+ ]
8496
+ },
8497
+ {
8498
+ "type": "event",
8499
+ "name": "mip::mip::MIP::Event",
8500
+ "kind": "enum",
8501
+ "variants": [
8502
+ {
8503
+ "name": "ERC721Event",
8504
+ "type": "openzeppelin_token::erc721::erc721::ERC721Component::Event",
8505
+ "kind": "flat"
8506
+ },
8507
+ {
8508
+ "name": "OwnableEvent",
8509
+ "type": "openzeppelin_access::ownable::ownable::OwnableComponent::Event",
8510
+ "kind": "flat"
8511
+ },
8512
+ {
8513
+ "name": "SRC5Event",
8514
+ "type": "openzeppelin_introspection::src5::SRC5Component::Event",
8515
+ "kind": "flat"
8516
+ },
8517
+ {
8518
+ "name": "ERC721EnumerableEvent",
8519
+ "type": "openzeppelin_token::erc721::extensions::erc721_enumerable::erc721_enumerable::ERC721EnumerableComponent::Event",
8520
+ "kind": "flat"
8521
+ },
8522
+ {
8523
+ "name": "CounterEvent",
8524
+ "type": "mip::mip::MIP::CounterComponent::Event",
8525
+ "kind": "flat"
8526
+ }
8527
+ ]
8528
+ }
8529
+ ];
8530
+
4640
8531
  // src/constants.ts
4641
8532
  var SN = getCoordinates("STARKNET");
4642
8533
  var STARKNET_MARKETPLACE_721_CONTRACT = SN.marketplace721;
@@ -4658,6 +8549,12 @@ var STARKNET_POP_COLLECTION_CLASS_HASH = SN.popCollectionClassHash;
4658
8549
  var STARKNET_DROP_FACTORY_CONTRACT = SN.dropFactory;
4659
8550
  var STARKNET_DROP_COLLECTION_CLASS_HASH = SN.dropCollectionClassHash;
4660
8551
  var STARKNET_NFTCOMMENTS_CONTRACT = SN.nftComments;
8552
+ var STARKNET_IP_TICKETS_FACTORY_CONTRACT = SN.ipTicketsFactory;
8553
+ var STARKNET_IP_TICKET_COLLECTION_CLASS_HASH = SN.ipTicketCollectionClassHash;
8554
+ var STARKNET_IP_CLUB_REGISTRY_CONTRACT = SN.ipClubRegistry;
8555
+ var STARKNET_IP_CLUB_NFT_CLASS_HASH = SN.ipClubNftClassHash;
8556
+ var STARKNET_IP_SPONSORSHIP_CONTRACT = SN.ipSponsorship;
8557
+ var STARKNET_IP_SPONSORSHIP_LICENSE_CONTRACT = SN.ipSponsorshipLicense;
4661
8558
  var STARKNET_CREATOR_COIN_FACTORY_CONTRACT = SN.creatorCoinFactory;
4662
8559
  var STARKNET_CREATOR_COIN_EKUBO_LAUNCHER = SN.creatorCoinEkuboLauncher;
4663
8560
  var STARKNET_CREATOR_COIN_CLASS_HASH = SN.creatorCoinClassHash;
@@ -6649,6 +10546,240 @@ var CreatorCoinService = class {
6649
10546
  return getCreatorCoinPrice(coinAddress, new starknet.RpcProvider({ nodeUrl: this.config.rpcUrl }));
6650
10547
  }
6651
10548
  };
10549
+ var TicketService = class {
10550
+ constructor(config) {
10551
+ this.factoryAddress = getCoordinates(config.chain).ipTicketsFactory;
10552
+ }
10553
+ _collection(address, account) {
10554
+ return new starknet.Contract(IPTicketCollectionABI, normalizeAddress("STARKNET", address), account);
10555
+ }
10556
+ /** Deploys a new IPTicketCollection via the factory. Caller becomes its owner. */
10557
+ async deployTicketCollection(account, params) {
10558
+ const factoryAddress = params.factoryAddress ?? this.factoryAddress;
10559
+ if (!factoryAddress) {
10560
+ throw new Error("IP-Tickets factory address not configured for this chain");
10561
+ }
10562
+ const factory = new starknet.Contract(IPTicketCollectionFactoryABI, factoryAddress, account);
10563
+ const call = factory.populate("deploy_ticket_collection", [params.name, params.symbol]);
10564
+ const res = await account.execute([call]);
10565
+ return { txHash: res.transaction_hash };
10566
+ }
10567
+ /** Owner-only. Creates a new ticket collection (event/tier) inside the caller's deployed IPTicketCollection. */
10568
+ async createTicketCollection(account, params) {
10569
+ const paymentToken = params.paymentToken ? new starknet.CairoOption(starknet.CairoOptionVariant.Some, params.paymentToken) : new starknet.CairoOption(starknet.CairoOptionVariant.None);
10570
+ const call = this._collection(params.collection, account).populate("create_ticket_collection", [
10571
+ starknet.cairo.uint256(params.price),
10572
+ starknet.cairo.uint256(params.maxSupply),
10573
+ params.expiration,
10574
+ params.royaltyBps,
10575
+ paymentToken,
10576
+ params.metadataUri
10577
+ ]);
10578
+ const res = await account.execute([call]);
10579
+ return { txHash: res.transaction_hash };
10580
+ }
10581
+ /** Owner-only. Gates minting only — existing tickets keep access/transfer/redeem. */
10582
+ async setCollectionActive(account, params) {
10583
+ const call = this._collection(params.collection, account).populate("set_collection_active", [
10584
+ starknet.cairo.uint256(params.collectionId),
10585
+ params.active
10586
+ ]);
10587
+ const res = await account.execute([call]);
10588
+ return { txHash: res.transaction_hash };
10589
+ }
10590
+ /** Mints a ticket. Prepends an ERC-20 approve when the collection is paid. */
10591
+ async mintTicket(account, params) {
10592
+ const calls = [];
10593
+ if (params.paymentToken && params.price && BigInt(params.price) > 0n) {
10594
+ const amount = starknet.cairo.uint256(params.price);
10595
+ calls.push({
10596
+ contractAddress: params.paymentToken,
10597
+ entrypoint: "approve",
10598
+ calldata: [normalizeAddress("STARKNET", params.collection), amount.low.toString(), amount.high.toString()]
10599
+ });
10600
+ }
10601
+ calls.push(this._collection(params.collection, account).populate("mint_ticket", [starknet.cairo.uint256(params.collectionId)]));
10602
+ const res = await account.execute(calls);
10603
+ return { txHash: res.transaction_hash };
10604
+ }
10605
+ /** Only the current token owner may redeem. */
10606
+ async redeemTicket(account, params) {
10607
+ const call = this._collection(params.collection, account).populate("redeem_ticket", [starknet.cairo.uint256(params.tokenId)]);
10608
+ const res = await account.execute([call]);
10609
+ return { txHash: res.transaction_hash };
10610
+ }
10611
+ };
10612
+ var ClubService = class {
10613
+ constructor(config) {
10614
+ this.registryAddress = getCoordinates(config.chain).ipClubRegistry;
10615
+ }
10616
+ _registry(account, registryAddress) {
10617
+ const address = registryAddress ?? this.registryAddress;
10618
+ if (!address) {
10619
+ throw new Error("IP-Club registry address not configured for this chain");
10620
+ }
10621
+ return new starknet.Contract(IPClubABI, normalizeAddress("STARKNET", address), account);
10622
+ }
10623
+ /** Permissionless — anyone may create a club. The registry deploys its own membership NFT internally. */
10624
+ async createClub(account, params) {
10625
+ const maxMembers = params.maxMembers != null ? new starknet.CairoOption(starknet.CairoOptionVariant.Some, params.maxMembers) : new starknet.CairoOption(starknet.CairoOptionVariant.None);
10626
+ const entryFee = params.entryFee != null ? new starknet.CairoOption(starknet.CairoOptionVariant.Some, starknet.cairo.uint256(params.entryFee)) : new starknet.CairoOption(starknet.CairoOptionVariant.None);
10627
+ const paymentToken = params.paymentToken ? new starknet.CairoOption(starknet.CairoOptionVariant.Some, params.paymentToken) : new starknet.CairoOption(starknet.CairoOptionVariant.None);
10628
+ const call = this._registry(account, params.registryAddress).populate("create_club", [
10629
+ params.name,
10630
+ params.symbol,
10631
+ params.metadataUri,
10632
+ maxMembers,
10633
+ entryFee,
10634
+ paymentToken
10635
+ ]);
10636
+ const res = await account.execute([call]);
10637
+ return { txHash: res.transaction_hash };
10638
+ }
10639
+ /** Reversible — gates new joins only; existing members are never affected. */
10640
+ async setClubOpen(account, params) {
10641
+ const call = this._registry(account, params.registryAddress).populate("set_club_open", [
10642
+ starknet.cairo.uint256(params.clubId),
10643
+ params.open
10644
+ ]);
10645
+ const res = await account.execute([call]);
10646
+ return { txHash: res.transaction_hash };
10647
+ }
10648
+ /** Prepends an ERC-20 approve when the club has an entry fee. */
10649
+ async joinClub(account, params) {
10650
+ const registryAddress = params.registryAddress ?? this.registryAddress;
10651
+ if (!registryAddress) {
10652
+ throw new Error("IP-Club registry address not configured for this chain");
10653
+ }
10654
+ const calls = [];
10655
+ if (params.paymentToken && params.entryFee && BigInt(params.entryFee) > 0n) {
10656
+ const amount = starknet.cairo.uint256(params.entryFee);
10657
+ calls.push({
10658
+ contractAddress: params.paymentToken,
10659
+ entrypoint: "approve",
10660
+ calldata: [normalizeAddress("STARKNET", registryAddress), amount.low.toString(), amount.high.toString()]
10661
+ });
10662
+ }
10663
+ calls.push(this._registry(account, registryAddress).populate("join_club", [starknet.cairo.uint256(params.clubId)]));
10664
+ const res = await account.execute(calls);
10665
+ return { txHash: res.transaction_hash };
10666
+ }
10667
+ /** Always allowed, open or closed. No fee refund. Burns the caller's membership NFT. */
10668
+ async leaveClub(account, params) {
10669
+ const call = this._registry(account, params.registryAddress).populate("leave_club", [
10670
+ starknet.cairo.uint256(params.clubId),
10671
+ starknet.cairo.uint256(params.tokenId)
10672
+ ]);
10673
+ const res = await account.execute([call]);
10674
+ return { txHash: res.transaction_hash };
10675
+ }
10676
+ };
10677
+ var SponsorshipService = class {
10678
+ constructor(config) {
10679
+ this.sponsorshipAddress = getCoordinates(config.chain).ipSponsorship;
10680
+ this.licenseReceiptAddress = getCoordinates(config.chain).ipSponsorshipLicense;
10681
+ }
10682
+ _sponsorship(account, address) {
10683
+ const resolved = address ?? this.sponsorshipAddress;
10684
+ if (!resolved) {
10685
+ throw new Error("IP-Sponsorship address not configured for this chain");
10686
+ }
10687
+ return new starknet.Contract(IPSponsorshipABI, normalizeAddress("STARKNET", resolved), account);
10688
+ }
10689
+ /** The offer author must currently own (nftContract, tokenId) — enforced on-chain at create and accept. */
10690
+ async createOffer(account, params) {
10691
+ const specificSponsor = params.specificSponsor ? new starknet.CairoOption(starknet.CairoOptionVariant.Some, params.specificSponsor) : new starknet.CairoOption(starknet.CairoOptionVariant.None);
10692
+ const call = this._sponsorship(account, params.sponsorshipAddress).populate("create_offer", [
10693
+ params.nftContract,
10694
+ starknet.cairo.uint256(params.tokenId),
10695
+ starknet.cairo.uint256(params.minAmount),
10696
+ params.duration,
10697
+ params.paymentToken,
10698
+ params.licenseTermsUri,
10699
+ params.transferable,
10700
+ specificSponsor
10701
+ ]);
10702
+ const res = await account.execute([call]);
10703
+ return { txHash: res.transaction_hash };
10704
+ }
10705
+ /** Reversible — gates new bids/acceptance only. */
10706
+ async setOfferOpen(account, params) {
10707
+ const call = this._sponsorship(account, params.sponsorshipAddress).populate("set_offer_open", [
10708
+ starknet.cairo.uint256(params.offerId),
10709
+ params.open
10710
+ ]);
10711
+ const res = await account.execute([call]);
10712
+ return { txHash: res.transaction_hash };
10713
+ }
10714
+ /** A bid is a signal plus an open ERC-20 allowance — no tokens move until accepted. Prepends the approve. */
10715
+ async placeBid(account, params) {
10716
+ const sponsorshipAddress = params.sponsorshipAddress ?? this.sponsorshipAddress;
10717
+ if (!sponsorshipAddress) {
10718
+ throw new Error("IP-Sponsorship address not configured for this chain");
10719
+ }
10720
+ const amount = starknet.cairo.uint256(params.amount);
10721
+ const approveCall = {
10722
+ contractAddress: params.paymentToken,
10723
+ entrypoint: "approve",
10724
+ calldata: [normalizeAddress("STARKNET", sponsorshipAddress), amount.low.toString(), amount.high.toString()]
10725
+ };
10726
+ const bidCall = this._sponsorship(account, sponsorshipAddress).populate("place_bid", [
10727
+ starknet.cairo.uint256(params.offerId),
10728
+ amount
10729
+ ]);
10730
+ const res = await account.execute([approveCall, bidCall]);
10731
+ return { txHash: res.transaction_hash };
10732
+ }
10733
+ async retractBid(account, params) {
10734
+ const call = this._sponsorship(account, params.sponsorshipAddress).populate("retract_bid", [
10735
+ starknet.cairo.uint256(params.offerId)
10736
+ ]);
10737
+ const res = await account.execute([call]);
10738
+ return { txHash: res.transaction_hash };
10739
+ }
10740
+ /**
10741
+ * Author-only. Settles the sponsor's payment (allowance pull, no escrow) and
10742
+ * mints a non-authoritative receipt NFT to the sponsor via the dedicated
10743
+ * sponsorship-license IPGenesis instance — never the genesis-mint instance.
10744
+ * `is_license_valid()` on IPSponsorship remains the sole authority for
10745
+ * gating/perks; the receipt is a wallet-visible courtesy only.
10746
+ */
10747
+ async acceptBid(account, params) {
10748
+ const receiptAddress = params.licenseReceiptAddress ?? this.licenseReceiptAddress;
10749
+ if (!receiptAddress) {
10750
+ throw new Error("IP-Sponsorship-License receipt address not configured for this chain");
10751
+ }
10752
+ const acceptCall = this._sponsorship(account, params.sponsorshipAddress).populate("accept_bid", [
10753
+ starknet.cairo.uint256(params.offerId),
10754
+ params.sponsor
10755
+ ]);
10756
+ const receipt = new starknet.Contract(IPGenesisABI, normalizeAddress("STARKNET", receiptAddress), account);
10757
+ const mintCall = receipt.populate("mint_item", [params.sponsor, params.licenseTermsUri]);
10758
+ const res = await account.execute([acceptCall, mintCall]);
10759
+ return { txHash: res.transaction_hash };
10760
+ }
10761
+ /**
10762
+ * Best-effort — bundles a receipt-NFT transfer alongside `transfer_license`
10763
+ * when both `licenseReceiptAddress` and `receiptTokenId` are supplied.
10764
+ * IPSponsorship's own license ownership stays authoritative regardless of
10765
+ * whether the receipt NFT is kept in sync.
10766
+ */
10767
+ async transferLicense(account, params) {
10768
+ const calls = [
10769
+ this._sponsorship(account, params.sponsorshipAddress).populate("transfer_license", [
10770
+ starknet.cairo.uint256(params.licenseId),
10771
+ params.to
10772
+ ])
10773
+ ];
10774
+ const receiptAddress = params.licenseReceiptAddress ?? this.licenseReceiptAddress;
10775
+ if (receiptAddress && params.receiptTokenId != null) {
10776
+ const receipt = new starknet.Contract(IPGenesisABI, normalizeAddress("STARKNET", receiptAddress), account);
10777
+ calls.push(receipt.populate("transfer_from", [account.address, params.to, starknet.cairo.uint256(params.receiptTokenId)]));
10778
+ }
10779
+ const res = await account.execute(calls);
10780
+ return { txHash: res.transaction_hash };
10781
+ }
10782
+ };
6652
10783
 
6653
10784
  // src/client.ts
6654
10785
  var MedialaneClient = class {
@@ -6660,7 +10791,10 @@ var MedialaneClient = class {
6660
10791
  pop: new PopService(this.config),
6661
10792
  drop: new DropService(this.config),
6662
10793
  erc1155Collection: new ERC1155CollectionService(this.config),
6663
- creatorCoin: new CreatorCoinService(this.config)
10794
+ creatorCoin: new CreatorCoinService(this.config),
10795
+ ticket: new TicketService(this.config),
10796
+ club: new ClubService(this.config),
10797
+ sponsorship: new SponsorshipService(this.config)
6664
10798
  };
6665
10799
  if (!this.config.backendUrl) {
6666
10800
  const sentinel = new ApiClient("https://medialane-sdk-no-backend.invalid", this.config.apiKey);
@@ -7055,6 +11189,52 @@ var SERVICES = {
7055
11189
  ],
7056
11190
  metadataSchema: { licenseDefault: "CC BY-SA" }
7057
11191
  },
11192
+ "ip-tickets": {
11193
+ id: "ip-tickets",
11194
+ displayName: "IP Tickets",
11195
+ description: "Sell verifiable, redeemable tickets for events and experiences.",
11196
+ standard: "ERC721",
11197
+ provenance: "MEDIALANE",
11198
+ uiVariant: "ticket",
11199
+ capabilities: ["mint", "redeem", "transfer"],
11200
+ events: [
11201
+ { name: "CollectionDeployed", emittedBy: "factory" }
11202
+ ],
11203
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11204
+ },
11205
+ "ip-club": {
11206
+ id: "ip-club",
11207
+ displayName: "IP Club",
11208
+ description: "Membership clubs with an on-chain NFT membership card.",
11209
+ standard: "ERC721",
11210
+ provenance: "MEDIALANE",
11211
+ uiVariant: "club",
11212
+ capabilities: ["subscribe", "transfer"],
11213
+ events: [
11214
+ { name: "NewClubCreated", emittedBy: "factory" }
11215
+ ],
11216
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11217
+ },
11218
+ "ip-sponsorship": {
11219
+ id: "ip-sponsorship",
11220
+ displayName: "IP Sponsorship",
11221
+ description: "Sponsorship offers and licenses anchored to an existing Medialane asset.",
11222
+ standard: "ERC721",
11223
+ provenance: "MEDIALANE",
11224
+ uiVariant: "standard",
11225
+ capabilities: ["sponsor"],
11226
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11227
+ },
11228
+ "ip-sponsorship-license": {
11229
+ id: "ip-sponsorship-license",
11230
+ displayName: "Sponsorship License Receipt",
11231
+ description: "Non-authoritative receipt NFT minted to a sponsor when a sponsorship bid is accepted.",
11232
+ standard: "ERC721",
11233
+ provenance: "MEDIALANE",
11234
+ uiVariant: "standard",
11235
+ capabilities: ["transfer"],
11236
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11237
+ },
7058
11238
  "creator-coin": {
7059
11239
  id: "creator-coin",
7060
11240
  displayName: "Creator Coin",
@@ -7170,6 +11350,7 @@ exports.ApiClient = ApiClient;
7170
11350
  exports.CHAINS = CHAINS;
7171
11351
  exports.COIN_MAX_SUPPLY = MAX_SUPPLY;
7172
11352
  exports.COIN_MIN_SUPPLY = MIN_SUPPLY;
11353
+ exports.ClubService = ClubService;
7173
11354
  exports.CreatorCoinFactoryABI = CreatorCoinFactoryABI;
7174
11355
  exports.CreatorCoinService = CreatorCoinService;
7175
11356
  exports.DEFAULT_CHAIN = DEFAULT_CHAIN;
@@ -7179,11 +11360,17 @@ exports.DropFactoryABI = DropFactoryABI;
7179
11360
  exports.DropService = DropService;
7180
11361
  exports.ERC1155CollectionService = ERC1155CollectionService;
7181
11362
  exports.FeeConfigSchema = FeeConfigSchema;
11363
+ exports.IPClubABI = IPClubABI;
11364
+ exports.IPClubNFTABI = IPClubNFTABI;
7182
11365
  exports.IPCollection1155ABI = IPCollection1155ABI;
7183
11366
  exports.IPCollection1155FactoryABI = IPCollection1155FactoryABI;
7184
11367
  exports.IPCollectionABI = IPCollectionABI;
11368
+ exports.IPGenesisABI = IPGenesisABI;
7185
11369
  exports.IPMarketplaceABI = IPMarketplaceABI;
7186
11370
  exports.IPNftABI = IPNftABI;
11371
+ exports.IPSponsorshipABI = IPSponsorshipABI;
11372
+ exports.IPTicketCollectionABI = IPTicketCollectionABI;
11373
+ exports.IPTicketCollectionFactoryABI = IPTicketCollectionFactoryABI;
7187
11374
  exports.LAUNCH_PRICE_QUOTE_PER_COIN = LAUNCH_PRICE_QUOTE_PER_COIN;
7188
11375
  exports.MarketplaceModule = MarketplaceModule;
7189
11376
  exports.Medialane1155ABI = Medialane1155ABI;
@@ -7212,6 +11399,12 @@ exports.STARKNET_DROP_FACTORY_CONTRACT = STARKNET_DROP_FACTORY_CONTRACT;
7212
11399
  exports.STARKNET_EKUBO_CORE = STARKNET_EKUBO_CORE;
7213
11400
  exports.STARKNET_IPCOLLECTION_CLASS_HASH = STARKNET_IPCOLLECTION_CLASS_HASH;
7214
11401
  exports.STARKNET_IPNFT_CLASS_HASH = STARKNET_IPNFT_CLASS_HASH;
11402
+ exports.STARKNET_IP_CLUB_NFT_CLASS_HASH = STARKNET_IP_CLUB_NFT_CLASS_HASH;
11403
+ exports.STARKNET_IP_CLUB_REGISTRY_CONTRACT = STARKNET_IP_CLUB_REGISTRY_CONTRACT;
11404
+ exports.STARKNET_IP_SPONSORSHIP_CONTRACT = STARKNET_IP_SPONSORSHIP_CONTRACT;
11405
+ exports.STARKNET_IP_SPONSORSHIP_LICENSE_CONTRACT = STARKNET_IP_SPONSORSHIP_LICENSE_CONTRACT;
11406
+ exports.STARKNET_IP_TICKETS_FACTORY_CONTRACT = STARKNET_IP_TICKETS_FACTORY_CONTRACT;
11407
+ exports.STARKNET_IP_TICKET_COLLECTION_CLASS_HASH = STARKNET_IP_TICKET_COLLECTION_CLASS_HASH;
7215
11408
  exports.STARKNET_MARKETPLACE_1155_CLASS_HASH = STARKNET_MARKETPLACE_1155_CLASS_HASH;
7216
11409
  exports.STARKNET_MARKETPLACE_1155_CONTRACT = STARKNET_MARKETPLACE_1155_CONTRACT;
7217
11410
  exports.STARKNET_MARKETPLACE_1155_START_BLOCK = STARKNET_MARKETPLACE_1155_START_BLOCK;
@@ -7222,6 +11415,8 @@ exports.STARKNET_NFTCOMMENTS_CONTRACT = STARKNET_NFTCOMMENTS_CONTRACT;
7222
11415
  exports.STARKNET_POP_COLLECTION_CLASS_HASH = STARKNET_POP_COLLECTION_CLASS_HASH;
7223
11416
  exports.STARKNET_POP_FACTORY_CONTRACT = STARKNET_POP_FACTORY_CONTRACT;
7224
11417
  exports.SUPPORTED_TOKENS = SUPPORTED_TOKENS;
11418
+ exports.SponsorshipService = SponsorshipService;
11419
+ exports.TicketService = TicketService;
7225
11420
  exports.VALIDATED_EKUBO_PARAMS = VALIDATED_EKUBO_PARAMS;
7226
11421
  exports.adminRequestDigest = adminRequestDigest;
7227
11422
  exports.build1155CancellationTypedData = build1155CancellationTypedData;