@medialane/sdk 0.44.0 → 0.45.0

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