@medialane/sdk 0.14.2 → 0.15.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
@@ -13,7 +13,7 @@ var MARKETPLACE_START_BLOCK_MAINNET = MARKETPLACE_721_START_BLOCK_MAINNET;
13
13
  var MARKETPLACE_1155_CONTRACT_MAINNET = "0x02bfa521c25461a09d735889b469418608d7d92f8b26e3d37ef174a4c2e22f99";
14
14
  var MARKETPLACE_1155_CLASS_HASH_MAINNET = "0x01b674aad934be85abc7c1970265cbf7e9bc7d586a90f0a67112c201636dbdd3";
15
15
  var MARKETPLACE_1155_START_BLOCK_MAINNET = 9260304;
16
- var COLLECTION_721_CONTRACT_MAINNET = "0x07c2207d200a1dce1cc82a117d8ba91dabfe3d1cc5072d9e4cdd9654fbb0ff10";
16
+ var COLLECTION_721_CONTRACT_MAINNET = "0x0322cb7119955e01ac778d40976eb3ba50540bb0899f812d612f9c7e63e49fd2";
17
17
  var COLLECTION_CONTRACT_MAINNET = COLLECTION_721_CONTRACT_MAINNET;
18
18
  var DROP_FACTORY_CONTRACT_MAINNET = "0x03587f42e29daee1b193f6cf83bf8627908ed6632d0d83fcb26225c50547d800";
19
19
  var POP_FACTORY_CONTRACT_MAINNET = "0x00b32c34b427d8f346b5843ada6a37bd3368d879fc752cd52b68a87287f60111";
@@ -57,9 +57,9 @@ var SUPPORTED_NETWORKS = ["mainnet"];
57
57
  var DEFAULT_RPC_URL = "https://rpc.starknet.lava.build";
58
58
  var POP_COLLECTION_CLASS_HASH_MAINNET = "0x077c421686f10851872561953ea16898d933364b7f8937a5d7e2b1ba0a36263f";
59
59
  var DROP_COLLECTION_CLASS_HASH_MAINNET = "0x00092e72cdb63067521e803aaf7d4101c3e3ce026ae6bc045ec4228027e58282";
60
- var COLLECTION_1155_CONTRACT_MAINNET = "0x006b2dc7ca7c4f466bb4575ba043d934310f052074f849caf853a86bcb819fd6";
60
+ var COLLECTION_1155_CONTRACT_MAINNET = "0x067064adcaaed61e17bf50ea802ea6482336126aec5b4d032b4ff8fbb5009131";
61
61
  var ERC1155_FACTORY_CONTRACT_MAINNET = COLLECTION_1155_CONTRACT_MAINNET;
62
- var COLLECTION_1155_CLASS_HASH_MAINNET = "0x39a85126c6627db263617e5bce2bb72e49d2bb1f20961efc8b8954665bcfd25";
62
+ var COLLECTION_1155_CLASS_HASH_MAINNET = "0x281e13803c906f20bbe158efb44b7a0273c56fdebbeeb55b2ba59530ddb1c80";
63
63
  var ERC1155_COLLECTION_CLASS_HASH_MAINNET = COLLECTION_1155_CLASS_HASH_MAINNET;
64
64
  var FeeConfigSchema = z.object({
65
65
  enabled: z.boolean().default(true),
@@ -1483,202 +1483,1368 @@ var Medialane1155ABI = [
1483
1483
  ];
1484
1484
  var IPCollection1155FactoryABI = [
1485
1485
  {
1486
- type: "function",
1487
- name: "collection_class_hash",
1488
- inputs: [],
1489
- outputs: [{ type: "core::starknet::class_hash::ClassHash" }],
1490
- state_mutability: "view"
1486
+ "type": "impl",
1487
+ "name": "IPCollectionFactoryImpl",
1488
+ "interface_name": "ip_programmable_erc1155_collections::interfaces::IIPCollectionFactory::IIPCollectionFactory"
1491
1489
  },
1492
1490
  {
1493
- type: "function",
1494
- name: "deploy_collection",
1495
- inputs: [
1496
- { name: "name", type: "core::byte_array::ByteArray" },
1497
- { name: "symbol", type: "core::byte_array::ByteArray" },
1498
- { name: "base_uri", type: "core::byte_array::ByteArray" }
1499
- ],
1500
- outputs: [{ type: "core::starknet::contract_address::ContractAddress" }],
1501
- state_mutability: "external"
1491
+ "type": "struct",
1492
+ "name": "core::byte_array::ByteArray",
1493
+ "members": [
1494
+ {
1495
+ "name": "data",
1496
+ "type": "core::array::Array::<core::bytes_31::bytes31>"
1497
+ },
1498
+ {
1499
+ "name": "pending_word",
1500
+ "type": "core::felt252"
1501
+ },
1502
+ {
1503
+ "name": "pending_word_len",
1504
+ "type": "core::internal::bounded_int::BoundedInt::<0, 30>"
1505
+ }
1506
+ ]
1502
1507
  },
1503
1508
  {
1504
- type: "function",
1505
- name: "update_collection_class_hash",
1506
- inputs: [{ name: "new_class_hash", type: "core::starknet::class_hash::ClassHash" }],
1507
- outputs: [],
1508
- state_mutability: "external"
1509
+ "type": "interface",
1510
+ "name": "ip_programmable_erc1155_collections::interfaces::IIPCollectionFactory::IIPCollectionFactory",
1511
+ "items": [
1512
+ {
1513
+ "type": "function",
1514
+ "name": "collection_class_hash",
1515
+ "inputs": [],
1516
+ "outputs": [
1517
+ {
1518
+ "type": "core::starknet::class_hash::ClassHash"
1519
+ }
1520
+ ],
1521
+ "state_mutability": "view"
1522
+ },
1523
+ {
1524
+ "type": "function",
1525
+ "name": "version",
1526
+ "inputs": [],
1527
+ "outputs": [
1528
+ {
1529
+ "type": "core::byte_array::ByteArray"
1530
+ }
1531
+ ],
1532
+ "state_mutability": "view"
1533
+ },
1534
+ {
1535
+ "type": "function",
1536
+ "name": "update_collection_class_hash",
1537
+ "inputs": [
1538
+ {
1539
+ "name": "new_class_hash",
1540
+ "type": "core::starknet::class_hash::ClassHash"
1541
+ }
1542
+ ],
1543
+ "outputs": [],
1544
+ "state_mutability": "external"
1545
+ },
1546
+ {
1547
+ "type": "function",
1548
+ "name": "deploy_collection",
1549
+ "inputs": [
1550
+ {
1551
+ "name": "name",
1552
+ "type": "core::byte_array::ByteArray"
1553
+ },
1554
+ {
1555
+ "name": "symbol",
1556
+ "type": "core::byte_array::ByteArray"
1557
+ },
1558
+ {
1559
+ "name": "base_uri",
1560
+ "type": "core::byte_array::ByteArray"
1561
+ }
1562
+ ],
1563
+ "outputs": [
1564
+ {
1565
+ "type": "core::starknet::contract_address::ContractAddress"
1566
+ }
1567
+ ],
1568
+ "state_mutability": "external"
1569
+ }
1570
+ ]
1509
1571
  },
1510
1572
  {
1511
- type: "function",
1512
- name: "owner",
1513
- inputs: [],
1514
- outputs: [{ type: "core::starknet::contract_address::ContractAddress" }],
1515
- state_mutability: "view"
1516
- }
1517
- ];
1518
- var IPCollection1155ABI = [
1519
- // ── Metadata views ──────────────────────────────────────────────────────────
1573
+ "type": "impl",
1574
+ "name": "OwnableMixinImpl",
1575
+ "interface_name": "openzeppelin_access::ownable::interface::OwnableABI"
1576
+ },
1520
1577
  {
1521
- type: "function",
1522
- name: "name",
1523
- inputs: [],
1524
- outputs: [{ type: "core::byte_array::ByteArray" }],
1525
- state_mutability: "view"
1578
+ "type": "interface",
1579
+ "name": "openzeppelin_access::ownable::interface::OwnableABI",
1580
+ "items": [
1581
+ {
1582
+ "type": "function",
1583
+ "name": "owner",
1584
+ "inputs": [],
1585
+ "outputs": [
1586
+ {
1587
+ "type": "core::starknet::contract_address::ContractAddress"
1588
+ }
1589
+ ],
1590
+ "state_mutability": "view"
1591
+ },
1592
+ {
1593
+ "type": "function",
1594
+ "name": "transfer_ownership",
1595
+ "inputs": [
1596
+ {
1597
+ "name": "new_owner",
1598
+ "type": "core::starknet::contract_address::ContractAddress"
1599
+ }
1600
+ ],
1601
+ "outputs": [],
1602
+ "state_mutability": "external"
1603
+ },
1604
+ {
1605
+ "type": "function",
1606
+ "name": "renounce_ownership",
1607
+ "inputs": [],
1608
+ "outputs": [],
1609
+ "state_mutability": "external"
1610
+ },
1611
+ {
1612
+ "type": "function",
1613
+ "name": "transferOwnership",
1614
+ "inputs": [
1615
+ {
1616
+ "name": "newOwner",
1617
+ "type": "core::starknet::contract_address::ContractAddress"
1618
+ }
1619
+ ],
1620
+ "outputs": [],
1621
+ "state_mutability": "external"
1622
+ },
1623
+ {
1624
+ "type": "function",
1625
+ "name": "renounceOwnership",
1626
+ "inputs": [],
1627
+ "outputs": [],
1628
+ "state_mutability": "external"
1629
+ }
1630
+ ]
1526
1631
  },
1527
1632
  {
1528
- type: "function",
1529
- name: "symbol",
1530
- inputs: [],
1531
- outputs: [{ type: "core::byte_array::ByteArray" }],
1532
- state_mutability: "view"
1633
+ "type": "constructor",
1634
+ "name": "constructor",
1635
+ "inputs": [
1636
+ {
1637
+ "name": "owner",
1638
+ "type": "core::starknet::contract_address::ContractAddress"
1639
+ },
1640
+ {
1641
+ "name": "collection_class_hash",
1642
+ "type": "core::starknet::class_hash::ClassHash"
1643
+ }
1644
+ ]
1533
1645
  },
1534
1646
  {
1535
- type: "function",
1536
- name: "base_uri",
1537
- inputs: [],
1538
- outputs: [{ type: "core::byte_array::ByteArray" }],
1539
- state_mutability: "view"
1647
+ "type": "event",
1648
+ "name": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred",
1649
+ "kind": "struct",
1650
+ "members": [
1651
+ {
1652
+ "name": "previous_owner",
1653
+ "type": "core::starknet::contract_address::ContractAddress",
1654
+ "kind": "key"
1655
+ },
1656
+ {
1657
+ "name": "new_owner",
1658
+ "type": "core::starknet::contract_address::ContractAddress",
1659
+ "kind": "key"
1660
+ }
1661
+ ]
1540
1662
  },
1541
1663
  {
1542
- type: "function",
1543
- name: "uri",
1544
- inputs: [{ name: "token_id", type: "core::integer::u256" }],
1545
- outputs: [{ type: "core::byte_array::ByteArray" }],
1546
- state_mutability: "view"
1664
+ "type": "event",
1665
+ "name": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted",
1666
+ "kind": "struct",
1667
+ "members": [
1668
+ {
1669
+ "name": "previous_owner",
1670
+ "type": "core::starknet::contract_address::ContractAddress",
1671
+ "kind": "key"
1672
+ },
1673
+ {
1674
+ "name": "new_owner",
1675
+ "type": "core::starknet::contract_address::ContractAddress",
1676
+ "kind": "key"
1677
+ }
1678
+ ]
1547
1679
  },
1548
- // ── Minting ─────────────────────────────────────────────────────────────────
1549
1680
  {
1550
- type: "function",
1551
- name: "mint_item",
1552
- inputs: [
1553
- { name: "to", type: "core::starknet::contract_address::ContractAddress" },
1554
- { name: "token_id", type: "core::integer::u256" },
1555
- { name: "value", type: "core::integer::u256" },
1556
- { name: "token_uri", type: "core::byte_array::ByteArray" }
1557
- ],
1558
- outputs: [],
1559
- state_mutability: "external"
1681
+ "type": "event",
1682
+ "name": "openzeppelin_access::ownable::ownable::OwnableComponent::Event",
1683
+ "kind": "enum",
1684
+ "variants": [
1685
+ {
1686
+ "name": "OwnershipTransferred",
1687
+ "type": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred",
1688
+ "kind": "nested"
1689
+ },
1690
+ {
1691
+ "name": "OwnershipTransferStarted",
1692
+ "type": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted",
1693
+ "kind": "nested"
1694
+ }
1695
+ ]
1560
1696
  },
1561
1697
  {
1562
- type: "function",
1563
- name: "batch_mint_item",
1564
- inputs: [
1565
- { name: "to", type: "core::starknet::contract_address::ContractAddress" },
1566
- { name: "token_ids", type: "core::array::Span::<core::integer::u256>" },
1567
- { name: "values", type: "core::array::Span::<core::integer::u256>" },
1568
- { name: "token_uris", type: "core::array::Array::<core::byte_array::ByteArray>" }
1569
- ],
1570
- outputs: [],
1571
- state_mutability: "external"
1698
+ "type": "event",
1699
+ "name": "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::CollectionDeployed",
1700
+ "kind": "struct",
1701
+ "members": [
1702
+ {
1703
+ "name": "collection_address",
1704
+ "type": "core::starknet::contract_address::ContractAddress",
1705
+ "kind": "key"
1706
+ },
1707
+ {
1708
+ "name": "owner",
1709
+ "type": "core::starknet::contract_address::ContractAddress",
1710
+ "kind": "key"
1711
+ },
1712
+ {
1713
+ "name": "name",
1714
+ "type": "core::byte_array::ByteArray",
1715
+ "kind": "data"
1716
+ },
1717
+ {
1718
+ "name": "symbol",
1719
+ "type": "core::byte_array::ByteArray",
1720
+ "kind": "data"
1721
+ },
1722
+ {
1723
+ "name": "base_uri",
1724
+ "type": "core::byte_array::ByteArray",
1725
+ "kind": "data"
1726
+ }
1727
+ ]
1728
+ },
1729
+ {
1730
+ "type": "event",
1731
+ "name": "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::CollectionClassHashUpdated",
1732
+ "kind": "struct",
1733
+ "members": [
1734
+ {
1735
+ "name": "previous_class_hash",
1736
+ "type": "core::starknet::class_hash::ClassHash",
1737
+ "kind": "data"
1738
+ },
1739
+ {
1740
+ "name": "new_class_hash",
1741
+ "type": "core::starknet::class_hash::ClassHash",
1742
+ "kind": "data"
1743
+ }
1744
+ ]
1745
+ },
1746
+ {
1747
+ "type": "event",
1748
+ "name": "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::Event",
1749
+ "kind": "enum",
1750
+ "variants": [
1751
+ {
1752
+ "name": "OwnableEvent",
1753
+ "type": "openzeppelin_access::ownable::ownable::OwnableComponent::Event",
1754
+ "kind": "flat"
1755
+ },
1756
+ {
1757
+ "name": "CollectionDeployed",
1758
+ "type": "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::CollectionDeployed",
1759
+ "kind": "nested"
1760
+ },
1761
+ {
1762
+ "name": "CollectionClassHashUpdated",
1763
+ "type": "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::CollectionClassHashUpdated",
1764
+ "kind": "nested"
1765
+ }
1766
+ ]
1767
+ }
1768
+ ];
1769
+ var IPCollection1155ABI = [
1770
+ {
1771
+ "type": "impl",
1772
+ "name": "ERC1155MetadataURIImpl",
1773
+ "interface_name": "openzeppelin_token::erc1155::interface::IERC1155MetadataURI"
1774
+ },
1775
+ {
1776
+ "type": "struct",
1777
+ "name": "core::integer::u256",
1778
+ "members": [
1779
+ {
1780
+ "name": "low",
1781
+ "type": "core::integer::u128"
1782
+ },
1783
+ {
1784
+ "name": "high",
1785
+ "type": "core::integer::u128"
1786
+ }
1787
+ ]
1788
+ },
1789
+ {
1790
+ "type": "struct",
1791
+ "name": "core::byte_array::ByteArray",
1792
+ "members": [
1793
+ {
1794
+ "name": "data",
1795
+ "type": "core::array::Array::<core::bytes_31::bytes31>"
1796
+ },
1797
+ {
1798
+ "name": "pending_word",
1799
+ "type": "core::felt252"
1800
+ },
1801
+ {
1802
+ "name": "pending_word_len",
1803
+ "type": "core::internal::bounded_int::BoundedInt::<0, 30>"
1804
+ }
1805
+ ]
1806
+ },
1807
+ {
1808
+ "type": "interface",
1809
+ "name": "openzeppelin_token::erc1155::interface::IERC1155MetadataURI",
1810
+ "items": [
1811
+ {
1812
+ "type": "function",
1813
+ "name": "uri",
1814
+ "inputs": [
1815
+ {
1816
+ "name": "token_id",
1817
+ "type": "core::integer::u256"
1818
+ }
1819
+ ],
1820
+ "outputs": [
1821
+ {
1822
+ "type": "core::byte_array::ByteArray"
1823
+ }
1824
+ ],
1825
+ "state_mutability": "view"
1826
+ }
1827
+ ]
1828
+ },
1829
+ {
1830
+ "type": "impl",
1831
+ "name": "IPCollectionImpl",
1832
+ "interface_name": "ip_programmable_erc1155_collections::interfaces::IIPCollection::IIPCollection"
1833
+ },
1834
+ {
1835
+ "type": "struct",
1836
+ "name": "core::array::Span::<core::integer::u256>",
1837
+ "members": [
1838
+ {
1839
+ "name": "snapshot",
1840
+ "type": "@core::array::Array::<core::integer::u256>"
1841
+ }
1842
+ ]
1843
+ },
1844
+ {
1845
+ "type": "struct",
1846
+ "name": "ip_programmable_erc1155_collections::types::TokenData",
1847
+ "members": [
1848
+ {
1849
+ "name": "token_id",
1850
+ "type": "core::integer::u256"
1851
+ },
1852
+ {
1853
+ "name": "metadata_uri",
1854
+ "type": "core::byte_array::ByteArray"
1855
+ },
1856
+ {
1857
+ "name": "original_creator",
1858
+ "type": "core::starknet::contract_address::ContractAddress"
1859
+ },
1860
+ {
1861
+ "name": "registered_at",
1862
+ "type": "core::integer::u64"
1863
+ }
1864
+ ]
1865
+ },
1866
+ {
1867
+ "type": "interface",
1868
+ "name": "ip_programmable_erc1155_collections::interfaces::IIPCollection::IIPCollection",
1869
+ "items": [
1870
+ {
1871
+ "type": "function",
1872
+ "name": "name",
1873
+ "inputs": [],
1874
+ "outputs": [
1875
+ {
1876
+ "type": "core::byte_array::ByteArray"
1877
+ }
1878
+ ],
1879
+ "state_mutability": "view"
1880
+ },
1881
+ {
1882
+ "type": "function",
1883
+ "name": "symbol",
1884
+ "inputs": [],
1885
+ "outputs": [
1886
+ {
1887
+ "type": "core::byte_array::ByteArray"
1888
+ }
1889
+ ],
1890
+ "state_mutability": "view"
1891
+ },
1892
+ {
1893
+ "type": "function",
1894
+ "name": "base_uri",
1895
+ "inputs": [],
1896
+ "outputs": [
1897
+ {
1898
+ "type": "core::byte_array::ByteArray"
1899
+ }
1900
+ ],
1901
+ "state_mutability": "view"
1902
+ },
1903
+ {
1904
+ "type": "function",
1905
+ "name": "version",
1906
+ "inputs": [],
1907
+ "outputs": [
1908
+ {
1909
+ "type": "core::byte_array::ByteArray"
1910
+ }
1911
+ ],
1912
+ "state_mutability": "view"
1913
+ },
1914
+ {
1915
+ "type": "function",
1916
+ "name": "mint_item",
1917
+ "inputs": [
1918
+ {
1919
+ "name": "to",
1920
+ "type": "core::starknet::contract_address::ContractAddress"
1921
+ },
1922
+ {
1923
+ "name": "token_id",
1924
+ "type": "core::integer::u256"
1925
+ },
1926
+ {
1927
+ "name": "value",
1928
+ "type": "core::integer::u256"
1929
+ },
1930
+ {
1931
+ "name": "token_uri",
1932
+ "type": "core::byte_array::ByteArray"
1933
+ }
1934
+ ],
1935
+ "outputs": [],
1936
+ "state_mutability": "external"
1937
+ },
1938
+ {
1939
+ "type": "function",
1940
+ "name": "batch_mint_item",
1941
+ "inputs": [
1942
+ {
1943
+ "name": "to",
1944
+ "type": "core::starknet::contract_address::ContractAddress"
1945
+ },
1946
+ {
1947
+ "name": "token_ids",
1948
+ "type": "core::array::Span::<core::integer::u256>"
1949
+ },
1950
+ {
1951
+ "name": "values",
1952
+ "type": "core::array::Span::<core::integer::u256>"
1953
+ },
1954
+ {
1955
+ "name": "token_uris",
1956
+ "type": "core::array::Array::<core::byte_array::ByteArray>"
1957
+ }
1958
+ ],
1959
+ "outputs": [],
1960
+ "state_mutability": "external"
1961
+ },
1962
+ {
1963
+ "type": "function",
1964
+ "name": "get_collection_creator",
1965
+ "inputs": [],
1966
+ "outputs": [
1967
+ {
1968
+ "type": "core::starknet::contract_address::ContractAddress"
1969
+ }
1970
+ ],
1971
+ "state_mutability": "view"
1972
+ },
1973
+ {
1974
+ "type": "function",
1975
+ "name": "get_token_creator",
1976
+ "inputs": [
1977
+ {
1978
+ "name": "token_id",
1979
+ "type": "core::integer::u256"
1980
+ }
1981
+ ],
1982
+ "outputs": [
1983
+ {
1984
+ "type": "core::starknet::contract_address::ContractAddress"
1985
+ }
1986
+ ],
1987
+ "state_mutability": "view"
1988
+ },
1989
+ {
1990
+ "type": "function",
1991
+ "name": "get_token_registered_at",
1992
+ "inputs": [
1993
+ {
1994
+ "name": "token_id",
1995
+ "type": "core::integer::u256"
1996
+ }
1997
+ ],
1998
+ "outputs": [
1999
+ {
2000
+ "type": "core::integer::u64"
2001
+ }
2002
+ ],
2003
+ "state_mutability": "view"
2004
+ },
2005
+ {
2006
+ "type": "function",
2007
+ "name": "get_token_data",
2008
+ "inputs": [
2009
+ {
2010
+ "name": "token_id",
2011
+ "type": "core::integer::u256"
2012
+ }
2013
+ ],
2014
+ "outputs": [
2015
+ {
2016
+ "type": "ip_programmable_erc1155_collections::types::TokenData"
2017
+ }
2018
+ ],
2019
+ "state_mutability": "view"
2020
+ }
2021
+ ]
2022
+ },
2023
+ {
2024
+ "type": "impl",
2025
+ "name": "OwnableMixinImpl",
2026
+ "interface_name": "openzeppelin_access::ownable::interface::OwnableABI"
2027
+ },
2028
+ {
2029
+ "type": "interface",
2030
+ "name": "openzeppelin_access::ownable::interface::OwnableABI",
2031
+ "items": [
2032
+ {
2033
+ "type": "function",
2034
+ "name": "owner",
2035
+ "inputs": [],
2036
+ "outputs": [
2037
+ {
2038
+ "type": "core::starknet::contract_address::ContractAddress"
2039
+ }
2040
+ ],
2041
+ "state_mutability": "view"
2042
+ },
2043
+ {
2044
+ "type": "function",
2045
+ "name": "transfer_ownership",
2046
+ "inputs": [
2047
+ {
2048
+ "name": "new_owner",
2049
+ "type": "core::starknet::contract_address::ContractAddress"
2050
+ }
2051
+ ],
2052
+ "outputs": [],
2053
+ "state_mutability": "external"
2054
+ },
2055
+ {
2056
+ "type": "function",
2057
+ "name": "renounce_ownership",
2058
+ "inputs": [],
2059
+ "outputs": [],
2060
+ "state_mutability": "external"
2061
+ },
2062
+ {
2063
+ "type": "function",
2064
+ "name": "transferOwnership",
2065
+ "inputs": [
2066
+ {
2067
+ "name": "newOwner",
2068
+ "type": "core::starknet::contract_address::ContractAddress"
2069
+ }
2070
+ ],
2071
+ "outputs": [],
2072
+ "state_mutability": "external"
2073
+ },
2074
+ {
2075
+ "type": "function",
2076
+ "name": "renounceOwnership",
2077
+ "inputs": [],
2078
+ "outputs": [],
2079
+ "state_mutability": "external"
2080
+ }
2081
+ ]
2082
+ },
2083
+ {
2084
+ "type": "impl",
2085
+ "name": "SRC5Impl",
2086
+ "interface_name": "openzeppelin_introspection::interface::ISRC5"
2087
+ },
2088
+ {
2089
+ "type": "enum",
2090
+ "name": "core::bool",
2091
+ "variants": [
2092
+ {
2093
+ "name": "False",
2094
+ "type": "()"
2095
+ },
2096
+ {
2097
+ "name": "True",
2098
+ "type": "()"
2099
+ }
2100
+ ]
2101
+ },
2102
+ {
2103
+ "type": "interface",
2104
+ "name": "openzeppelin_introspection::interface::ISRC5",
2105
+ "items": [
2106
+ {
2107
+ "type": "function",
2108
+ "name": "supports_interface",
2109
+ "inputs": [
2110
+ {
2111
+ "name": "interface_id",
2112
+ "type": "core::felt252"
2113
+ }
2114
+ ],
2115
+ "outputs": [
2116
+ {
2117
+ "type": "core::bool"
2118
+ }
2119
+ ],
2120
+ "state_mutability": "view"
2121
+ }
2122
+ ]
2123
+ },
2124
+ {
2125
+ "type": "impl",
2126
+ "name": "ERC1155Impl",
2127
+ "interface_name": "openzeppelin_token::erc1155::interface::IERC1155"
2128
+ },
2129
+ {
2130
+ "type": "struct",
2131
+ "name": "core::array::Span::<core::starknet::contract_address::ContractAddress>",
2132
+ "members": [
2133
+ {
2134
+ "name": "snapshot",
2135
+ "type": "@core::array::Array::<core::starknet::contract_address::ContractAddress>"
2136
+ }
2137
+ ]
2138
+ },
2139
+ {
2140
+ "type": "struct",
2141
+ "name": "core::array::Span::<core::felt252>",
2142
+ "members": [
2143
+ {
2144
+ "name": "snapshot",
2145
+ "type": "@core::array::Array::<core::felt252>"
2146
+ }
2147
+ ]
2148
+ },
2149
+ {
2150
+ "type": "interface",
2151
+ "name": "openzeppelin_token::erc1155::interface::IERC1155",
2152
+ "items": [
2153
+ {
2154
+ "type": "function",
2155
+ "name": "balance_of",
2156
+ "inputs": [
2157
+ {
2158
+ "name": "account",
2159
+ "type": "core::starknet::contract_address::ContractAddress"
2160
+ },
2161
+ {
2162
+ "name": "token_id",
2163
+ "type": "core::integer::u256"
2164
+ }
2165
+ ],
2166
+ "outputs": [
2167
+ {
2168
+ "type": "core::integer::u256"
2169
+ }
2170
+ ],
2171
+ "state_mutability": "view"
2172
+ },
2173
+ {
2174
+ "type": "function",
2175
+ "name": "balance_of_batch",
2176
+ "inputs": [
2177
+ {
2178
+ "name": "accounts",
2179
+ "type": "core::array::Span::<core::starknet::contract_address::ContractAddress>"
2180
+ },
2181
+ {
2182
+ "name": "token_ids",
2183
+ "type": "core::array::Span::<core::integer::u256>"
2184
+ }
2185
+ ],
2186
+ "outputs": [
2187
+ {
2188
+ "type": "core::array::Span::<core::integer::u256>"
2189
+ }
2190
+ ],
2191
+ "state_mutability": "view"
2192
+ },
2193
+ {
2194
+ "type": "function",
2195
+ "name": "safe_transfer_from",
2196
+ "inputs": [
2197
+ {
2198
+ "name": "from",
2199
+ "type": "core::starknet::contract_address::ContractAddress"
2200
+ },
2201
+ {
2202
+ "name": "to",
2203
+ "type": "core::starknet::contract_address::ContractAddress"
2204
+ },
2205
+ {
2206
+ "name": "token_id",
2207
+ "type": "core::integer::u256"
2208
+ },
2209
+ {
2210
+ "name": "value",
2211
+ "type": "core::integer::u256"
2212
+ },
2213
+ {
2214
+ "name": "data",
2215
+ "type": "core::array::Span::<core::felt252>"
2216
+ }
2217
+ ],
2218
+ "outputs": [],
2219
+ "state_mutability": "external"
2220
+ },
2221
+ {
2222
+ "type": "function",
2223
+ "name": "safe_batch_transfer_from",
2224
+ "inputs": [
2225
+ {
2226
+ "name": "from",
2227
+ "type": "core::starknet::contract_address::ContractAddress"
2228
+ },
2229
+ {
2230
+ "name": "to",
2231
+ "type": "core::starknet::contract_address::ContractAddress"
2232
+ },
2233
+ {
2234
+ "name": "token_ids",
2235
+ "type": "core::array::Span::<core::integer::u256>"
2236
+ },
2237
+ {
2238
+ "name": "values",
2239
+ "type": "core::array::Span::<core::integer::u256>"
2240
+ },
2241
+ {
2242
+ "name": "data",
2243
+ "type": "core::array::Span::<core::felt252>"
2244
+ }
2245
+ ],
2246
+ "outputs": [],
2247
+ "state_mutability": "external"
2248
+ },
2249
+ {
2250
+ "type": "function",
2251
+ "name": "is_approved_for_all",
2252
+ "inputs": [
2253
+ {
2254
+ "name": "owner",
2255
+ "type": "core::starknet::contract_address::ContractAddress"
2256
+ },
2257
+ {
2258
+ "name": "operator",
2259
+ "type": "core::starknet::contract_address::ContractAddress"
2260
+ }
2261
+ ],
2262
+ "outputs": [
2263
+ {
2264
+ "type": "core::bool"
2265
+ }
2266
+ ],
2267
+ "state_mutability": "view"
2268
+ },
2269
+ {
2270
+ "type": "function",
2271
+ "name": "set_approval_for_all",
2272
+ "inputs": [
2273
+ {
2274
+ "name": "operator",
2275
+ "type": "core::starknet::contract_address::ContractAddress"
2276
+ },
2277
+ {
2278
+ "name": "approved",
2279
+ "type": "core::bool"
2280
+ }
2281
+ ],
2282
+ "outputs": [],
2283
+ "state_mutability": "external"
2284
+ }
2285
+ ]
2286
+ },
2287
+ {
2288
+ "type": "impl",
2289
+ "name": "ERC1155CamelImpl",
2290
+ "interface_name": "openzeppelin_token::erc1155::interface::IERC1155Camel"
2291
+ },
2292
+ {
2293
+ "type": "interface",
2294
+ "name": "openzeppelin_token::erc1155::interface::IERC1155Camel",
2295
+ "items": [
2296
+ {
2297
+ "type": "function",
2298
+ "name": "balanceOf",
2299
+ "inputs": [
2300
+ {
2301
+ "name": "account",
2302
+ "type": "core::starknet::contract_address::ContractAddress"
2303
+ },
2304
+ {
2305
+ "name": "tokenId",
2306
+ "type": "core::integer::u256"
2307
+ }
2308
+ ],
2309
+ "outputs": [
2310
+ {
2311
+ "type": "core::integer::u256"
2312
+ }
2313
+ ],
2314
+ "state_mutability": "view"
2315
+ },
2316
+ {
2317
+ "type": "function",
2318
+ "name": "balanceOfBatch",
2319
+ "inputs": [
2320
+ {
2321
+ "name": "accounts",
2322
+ "type": "core::array::Span::<core::starknet::contract_address::ContractAddress>"
2323
+ },
2324
+ {
2325
+ "name": "tokenIds",
2326
+ "type": "core::array::Span::<core::integer::u256>"
2327
+ }
2328
+ ],
2329
+ "outputs": [
2330
+ {
2331
+ "type": "core::array::Span::<core::integer::u256>"
2332
+ }
2333
+ ],
2334
+ "state_mutability": "view"
2335
+ },
2336
+ {
2337
+ "type": "function",
2338
+ "name": "safeTransferFrom",
2339
+ "inputs": [
2340
+ {
2341
+ "name": "from",
2342
+ "type": "core::starknet::contract_address::ContractAddress"
2343
+ },
2344
+ {
2345
+ "name": "to",
2346
+ "type": "core::starknet::contract_address::ContractAddress"
2347
+ },
2348
+ {
2349
+ "name": "tokenId",
2350
+ "type": "core::integer::u256"
2351
+ },
2352
+ {
2353
+ "name": "value",
2354
+ "type": "core::integer::u256"
2355
+ },
2356
+ {
2357
+ "name": "data",
2358
+ "type": "core::array::Span::<core::felt252>"
2359
+ }
2360
+ ],
2361
+ "outputs": [],
2362
+ "state_mutability": "external"
2363
+ },
2364
+ {
2365
+ "type": "function",
2366
+ "name": "safeBatchTransferFrom",
2367
+ "inputs": [
2368
+ {
2369
+ "name": "from",
2370
+ "type": "core::starknet::contract_address::ContractAddress"
2371
+ },
2372
+ {
2373
+ "name": "to",
2374
+ "type": "core::starknet::contract_address::ContractAddress"
2375
+ },
2376
+ {
2377
+ "name": "tokenIds",
2378
+ "type": "core::array::Span::<core::integer::u256>"
2379
+ },
2380
+ {
2381
+ "name": "values",
2382
+ "type": "core::array::Span::<core::integer::u256>"
2383
+ },
2384
+ {
2385
+ "name": "data",
2386
+ "type": "core::array::Span::<core::felt252>"
2387
+ }
2388
+ ],
2389
+ "outputs": [],
2390
+ "state_mutability": "external"
2391
+ },
2392
+ {
2393
+ "type": "function",
2394
+ "name": "isApprovedForAll",
2395
+ "inputs": [
2396
+ {
2397
+ "name": "owner",
2398
+ "type": "core::starknet::contract_address::ContractAddress"
2399
+ },
2400
+ {
2401
+ "name": "operator",
2402
+ "type": "core::starknet::contract_address::ContractAddress"
2403
+ }
2404
+ ],
2405
+ "outputs": [
2406
+ {
2407
+ "type": "core::bool"
2408
+ }
2409
+ ],
2410
+ "state_mutability": "view"
2411
+ },
2412
+ {
2413
+ "type": "function",
2414
+ "name": "setApprovalForAll",
2415
+ "inputs": [
2416
+ {
2417
+ "name": "operator",
2418
+ "type": "core::starknet::contract_address::ContractAddress"
2419
+ },
2420
+ {
2421
+ "name": "approved",
2422
+ "type": "core::bool"
2423
+ }
2424
+ ],
2425
+ "outputs": [],
2426
+ "state_mutability": "external"
2427
+ }
2428
+ ]
2429
+ },
2430
+ {
2431
+ "type": "impl",
2432
+ "name": "ERC2981Impl",
2433
+ "interface_name": "openzeppelin_token::common::erc2981::interface::IERC2981"
2434
+ },
2435
+ {
2436
+ "type": "interface",
2437
+ "name": "openzeppelin_token::common::erc2981::interface::IERC2981",
2438
+ "items": [
2439
+ {
2440
+ "type": "function",
2441
+ "name": "royalty_info",
2442
+ "inputs": [
2443
+ {
2444
+ "name": "token_id",
2445
+ "type": "core::integer::u256"
2446
+ },
2447
+ {
2448
+ "name": "sale_price",
2449
+ "type": "core::integer::u256"
2450
+ }
2451
+ ],
2452
+ "outputs": [
2453
+ {
2454
+ "type": "(core::starknet::contract_address::ContractAddress, core::integer::u256)"
2455
+ }
2456
+ ],
2457
+ "state_mutability": "view"
2458
+ }
2459
+ ]
2460
+ },
2461
+ {
2462
+ "type": "impl",
2463
+ "name": "ERC2981InfoImpl",
2464
+ "interface_name": "openzeppelin_token::common::erc2981::interface::IERC2981Info"
2465
+ },
2466
+ {
2467
+ "type": "interface",
2468
+ "name": "openzeppelin_token::common::erc2981::interface::IERC2981Info",
2469
+ "items": [
2470
+ {
2471
+ "type": "function",
2472
+ "name": "default_royalty",
2473
+ "inputs": [],
2474
+ "outputs": [
2475
+ {
2476
+ "type": "(core::starknet::contract_address::ContractAddress, core::integer::u128, core::integer::u128)"
2477
+ }
2478
+ ],
2479
+ "state_mutability": "view"
2480
+ },
2481
+ {
2482
+ "type": "function",
2483
+ "name": "token_royalty",
2484
+ "inputs": [
2485
+ {
2486
+ "name": "token_id",
2487
+ "type": "core::integer::u256"
2488
+ }
2489
+ ],
2490
+ "outputs": [
2491
+ {
2492
+ "type": "(core::starknet::contract_address::ContractAddress, core::integer::u128, core::integer::u128)"
2493
+ }
2494
+ ],
2495
+ "state_mutability": "view"
2496
+ }
2497
+ ]
2498
+ },
2499
+ {
2500
+ "type": "impl",
2501
+ "name": "ERC2981AdminOwnableImpl",
2502
+ "interface_name": "openzeppelin_token::common::erc2981::interface::IERC2981Admin"
2503
+ },
2504
+ {
2505
+ "type": "interface",
2506
+ "name": "openzeppelin_token::common::erc2981::interface::IERC2981Admin",
2507
+ "items": [
2508
+ {
2509
+ "type": "function",
2510
+ "name": "set_default_royalty",
2511
+ "inputs": [
2512
+ {
2513
+ "name": "receiver",
2514
+ "type": "core::starknet::contract_address::ContractAddress"
2515
+ },
2516
+ {
2517
+ "name": "fee_numerator",
2518
+ "type": "core::integer::u128"
2519
+ }
2520
+ ],
2521
+ "outputs": [],
2522
+ "state_mutability": "external"
2523
+ },
2524
+ {
2525
+ "type": "function",
2526
+ "name": "delete_default_royalty",
2527
+ "inputs": [],
2528
+ "outputs": [],
2529
+ "state_mutability": "external"
2530
+ },
2531
+ {
2532
+ "type": "function",
2533
+ "name": "set_token_royalty",
2534
+ "inputs": [
2535
+ {
2536
+ "name": "token_id",
2537
+ "type": "core::integer::u256"
2538
+ },
2539
+ {
2540
+ "name": "receiver",
2541
+ "type": "core::starknet::contract_address::ContractAddress"
2542
+ },
2543
+ {
2544
+ "name": "fee_numerator",
2545
+ "type": "core::integer::u128"
2546
+ }
2547
+ ],
2548
+ "outputs": [],
2549
+ "state_mutability": "external"
2550
+ },
2551
+ {
2552
+ "type": "function",
2553
+ "name": "reset_token_royalty",
2554
+ "inputs": [
2555
+ {
2556
+ "name": "token_id",
2557
+ "type": "core::integer::u256"
2558
+ }
2559
+ ],
2560
+ "outputs": [],
2561
+ "state_mutability": "external"
2562
+ }
2563
+ ]
2564
+ },
2565
+ {
2566
+ "type": "constructor",
2567
+ "name": "constructor",
2568
+ "inputs": [
2569
+ {
2570
+ "name": "name",
2571
+ "type": "core::byte_array::ByteArray"
2572
+ },
2573
+ {
2574
+ "name": "symbol",
2575
+ "type": "core::byte_array::ByteArray"
2576
+ },
2577
+ {
2578
+ "name": "base_uri",
2579
+ "type": "core::byte_array::ByteArray"
2580
+ },
2581
+ {
2582
+ "name": "owner",
2583
+ "type": "core::starknet::contract_address::ContractAddress"
2584
+ }
2585
+ ]
1572
2586
  },
1573
- // ── Provenance queries ───────────────────────────────────────────────────────
1574
2587
  {
1575
- type: "function",
1576
- name: "get_collection_creator",
1577
- inputs: [],
1578
- outputs: [{ type: "core::starknet::contract_address::ContractAddress" }],
1579
- state_mutability: "view"
2588
+ "type": "event",
2589
+ "name": "openzeppelin_introspection::src5::SRC5Component::Event",
2590
+ "kind": "enum",
2591
+ "variants": []
1580
2592
  },
1581
2593
  {
1582
- type: "function",
1583
- name: "get_token_creator",
1584
- inputs: [{ name: "token_id", type: "core::integer::u256" }],
1585
- outputs: [{ type: "core::starknet::contract_address::ContractAddress" }],
1586
- state_mutability: "view"
2594
+ "type": "event",
2595
+ "name": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred",
2596
+ "kind": "struct",
2597
+ "members": [
2598
+ {
2599
+ "name": "previous_owner",
2600
+ "type": "core::starknet::contract_address::ContractAddress",
2601
+ "kind": "key"
2602
+ },
2603
+ {
2604
+ "name": "new_owner",
2605
+ "type": "core::starknet::contract_address::ContractAddress",
2606
+ "kind": "key"
2607
+ }
2608
+ ]
1587
2609
  },
1588
2610
  {
1589
- type: "function",
1590
- name: "get_token_registered_at",
1591
- inputs: [{ name: "token_id", type: "core::integer::u256" }],
1592
- outputs: [{ type: "core::integer::u64" }],
1593
- state_mutability: "view"
2611
+ "type": "event",
2612
+ "name": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted",
2613
+ "kind": "struct",
2614
+ "members": [
2615
+ {
2616
+ "name": "previous_owner",
2617
+ "type": "core::starknet::contract_address::ContractAddress",
2618
+ "kind": "key"
2619
+ },
2620
+ {
2621
+ "name": "new_owner",
2622
+ "type": "core::starknet::contract_address::ContractAddress",
2623
+ "kind": "key"
2624
+ }
2625
+ ]
1594
2626
  },
1595
- // ── Ownership ────────────────────────────────────────────────────────────────
1596
2627
  {
1597
- type: "function",
1598
- name: "owner",
1599
- inputs: [],
1600
- outputs: [{ type: "core::starknet::contract_address::ContractAddress" }],
1601
- state_mutability: "view"
2628
+ "type": "event",
2629
+ "name": "openzeppelin_access::ownable::ownable::OwnableComponent::Event",
2630
+ "kind": "enum",
2631
+ "variants": [
2632
+ {
2633
+ "name": "OwnershipTransferred",
2634
+ "type": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred",
2635
+ "kind": "nested"
2636
+ },
2637
+ {
2638
+ "name": "OwnershipTransferStarted",
2639
+ "type": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted",
2640
+ "kind": "nested"
2641
+ }
2642
+ ]
1602
2643
  },
1603
- // ── ERC-1155 standard ────────────────────────────────────────────────────────
1604
2644
  {
1605
- type: "function",
1606
- name: "balance_of",
1607
- inputs: [
1608
- { name: "account", type: "core::starknet::contract_address::ContractAddress" },
1609
- { name: "token_id", type: "core::integer::u256" }
1610
- ],
1611
- outputs: [{ type: "core::integer::u256" }],
1612
- state_mutability: "view"
2645
+ "type": "event",
2646
+ "name": "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle",
2647
+ "kind": "struct",
2648
+ "members": [
2649
+ {
2650
+ "name": "operator",
2651
+ "type": "core::starknet::contract_address::ContractAddress",
2652
+ "kind": "key"
2653
+ },
2654
+ {
2655
+ "name": "from",
2656
+ "type": "core::starknet::contract_address::ContractAddress",
2657
+ "kind": "key"
2658
+ },
2659
+ {
2660
+ "name": "to",
2661
+ "type": "core::starknet::contract_address::ContractAddress",
2662
+ "kind": "key"
2663
+ },
2664
+ {
2665
+ "name": "id",
2666
+ "type": "core::integer::u256",
2667
+ "kind": "data"
2668
+ },
2669
+ {
2670
+ "name": "value",
2671
+ "type": "core::integer::u256",
2672
+ "kind": "data"
2673
+ }
2674
+ ]
1613
2675
  },
1614
2676
  {
1615
- type: "function",
1616
- name: "set_approval_for_all",
1617
- inputs: [
1618
- { name: "operator", type: "core::starknet::contract_address::ContractAddress" },
1619
- { name: "approved", type: "core::bool" }
1620
- ],
1621
- outputs: [],
1622
- state_mutability: "external"
2677
+ "type": "event",
2678
+ "name": "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch",
2679
+ "kind": "struct",
2680
+ "members": [
2681
+ {
2682
+ "name": "operator",
2683
+ "type": "core::starknet::contract_address::ContractAddress",
2684
+ "kind": "key"
2685
+ },
2686
+ {
2687
+ "name": "from",
2688
+ "type": "core::starknet::contract_address::ContractAddress",
2689
+ "kind": "key"
2690
+ },
2691
+ {
2692
+ "name": "to",
2693
+ "type": "core::starknet::contract_address::ContractAddress",
2694
+ "kind": "key"
2695
+ },
2696
+ {
2697
+ "name": "ids",
2698
+ "type": "core::array::Span::<core::integer::u256>",
2699
+ "kind": "data"
2700
+ },
2701
+ {
2702
+ "name": "values",
2703
+ "type": "core::array::Span::<core::integer::u256>",
2704
+ "kind": "data"
2705
+ }
2706
+ ]
1623
2707
  },
1624
2708
  {
1625
- type: "function",
1626
- name: "is_approved_for_all",
1627
- inputs: [
1628
- { name: "owner", type: "core::starknet::contract_address::ContractAddress" },
1629
- { name: "operator", type: "core::starknet::contract_address::ContractAddress" }
1630
- ],
1631
- outputs: [{ type: "core::bool" }],
1632
- state_mutability: "view"
2709
+ "type": "event",
2710
+ "name": "openzeppelin_token::erc1155::erc1155::ERC1155Component::ApprovalForAll",
2711
+ "kind": "struct",
2712
+ "members": [
2713
+ {
2714
+ "name": "owner",
2715
+ "type": "core::starknet::contract_address::ContractAddress",
2716
+ "kind": "key"
2717
+ },
2718
+ {
2719
+ "name": "operator",
2720
+ "type": "core::starknet::contract_address::ContractAddress",
2721
+ "kind": "key"
2722
+ },
2723
+ {
2724
+ "name": "approved",
2725
+ "type": "core::bool",
2726
+ "kind": "data"
2727
+ }
2728
+ ]
1633
2729
  },
1634
- // ── ERC-2981 royalties ───────────────────────────────────────────────────────
1635
2730
  {
1636
- type: "function",
1637
- name: "royalty_info",
1638
- inputs: [
1639
- { name: "token_id", type: "core::integer::u256" },
1640
- { name: "sale_price", type: "core::integer::u256" }
1641
- ],
1642
- outputs: [
1643
- { type: "core::starknet::contract_address::ContractAddress" },
1644
- { type: "core::integer::u256" }
1645
- ],
1646
- state_mutability: "view"
2731
+ "type": "event",
2732
+ "name": "openzeppelin_token::erc1155::erc1155::ERC1155Component::URI",
2733
+ "kind": "struct",
2734
+ "members": [
2735
+ {
2736
+ "name": "value",
2737
+ "type": "core::byte_array::ByteArray",
2738
+ "kind": "data"
2739
+ },
2740
+ {
2741
+ "name": "id",
2742
+ "type": "core::integer::u256",
2743
+ "kind": "key"
2744
+ }
2745
+ ]
1647
2746
  },
1648
2747
  {
1649
- type: "function",
1650
- name: "set_default_royalty",
1651
- inputs: [
1652
- { name: "receiver", type: "core::starknet::contract_address::ContractAddress" },
1653
- { name: "fee_numerator", type: "core::integer::u128" }
1654
- ],
1655
- outputs: [],
1656
- state_mutability: "external"
2748
+ "type": "event",
2749
+ "name": "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event",
2750
+ "kind": "enum",
2751
+ "variants": [
2752
+ {
2753
+ "name": "TransferSingle",
2754
+ "type": "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle",
2755
+ "kind": "nested"
2756
+ },
2757
+ {
2758
+ "name": "TransferBatch",
2759
+ "type": "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch",
2760
+ "kind": "nested"
2761
+ },
2762
+ {
2763
+ "name": "ApprovalForAll",
2764
+ "type": "openzeppelin_token::erc1155::erc1155::ERC1155Component::ApprovalForAll",
2765
+ "kind": "nested"
2766
+ },
2767
+ {
2768
+ "name": "URI",
2769
+ "type": "openzeppelin_token::erc1155::erc1155::ERC1155Component::URI",
2770
+ "kind": "nested"
2771
+ }
2772
+ ]
1657
2773
  },
1658
2774
  {
1659
- type: "function",
1660
- name: "set_token_royalty",
1661
- inputs: [
1662
- { name: "token_id", type: "core::integer::u256" },
1663
- { name: "receiver", type: "core::starknet::contract_address::ContractAddress" },
1664
- { name: "fee_numerator", type: "core::integer::u128" }
1665
- ],
1666
- outputs: [],
1667
- state_mutability: "external"
2775
+ "type": "event",
2776
+ "name": "openzeppelin_token::common::erc2981::erc2981::ERC2981Component::Event",
2777
+ "kind": "enum",
2778
+ "variants": []
1668
2779
  },
1669
2780
  {
1670
- type: "function",
1671
- name: "delete_default_royalty",
1672
- inputs: [],
1673
- outputs: [],
1674
- state_mutability: "external"
2781
+ "type": "event",
2782
+ "name": "ip_programmable_erc1155_collections::IPCollection::IPCollection::IPMinted",
2783
+ "kind": "struct",
2784
+ "members": [
2785
+ {
2786
+ "name": "token_id",
2787
+ "type": "core::integer::u256",
2788
+ "kind": "key"
2789
+ },
2790
+ {
2791
+ "name": "recipient",
2792
+ "type": "core::starknet::contract_address::ContractAddress",
2793
+ "kind": "key"
2794
+ },
2795
+ {
2796
+ "name": "value",
2797
+ "type": "core::integer::u256",
2798
+ "kind": "data"
2799
+ },
2800
+ {
2801
+ "name": "uri",
2802
+ "type": "core::byte_array::ByteArray",
2803
+ "kind": "data"
2804
+ },
2805
+ {
2806
+ "name": "creator",
2807
+ "type": "core::starknet::contract_address::ContractAddress",
2808
+ "kind": "data"
2809
+ },
2810
+ {
2811
+ "name": "registered_at",
2812
+ "type": "core::integer::u64",
2813
+ "kind": "data"
2814
+ }
2815
+ ]
1675
2816
  },
1676
2817
  {
1677
- type: "function",
1678
- name: "reset_token_royalty",
1679
- inputs: [{ name: "token_id", type: "core::integer::u256" }],
1680
- outputs: [],
1681
- state_mutability: "external"
2818
+ "type": "event",
2819
+ "name": "ip_programmable_erc1155_collections::IPCollection::IPCollection::Event",
2820
+ "kind": "enum",
2821
+ "variants": [
2822
+ {
2823
+ "name": "SRC5Event",
2824
+ "type": "openzeppelin_introspection::src5::SRC5Component::Event",
2825
+ "kind": "flat"
2826
+ },
2827
+ {
2828
+ "name": "OwnableEvent",
2829
+ "type": "openzeppelin_access::ownable::ownable::OwnableComponent::Event",
2830
+ "kind": "flat"
2831
+ },
2832
+ {
2833
+ "name": "ERC1155Event",
2834
+ "type": "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event",
2835
+ "kind": "flat"
2836
+ },
2837
+ {
2838
+ "name": "ERC2981Event",
2839
+ "type": "openzeppelin_token::common::erc2981::erc2981::ERC2981Component::Event",
2840
+ "kind": "flat"
2841
+ },
2842
+ {
2843
+ "name": "IPMinted",
2844
+ "type": "ip_programmable_erc1155_collections::IPCollection::IPCollection::IPMinted",
2845
+ "kind": "nested"
2846
+ }
2847
+ ]
1682
2848
  }
1683
2849
  ];
1684
2850
  var IPCollectionABI = [
@@ -2601,6 +3767,10 @@ var IPNftABI = [
2601
3767
  {
2602
3768
  "name": "token_uri",
2603
3769
  "type": "core::byte_array::ByteArray"
3770
+ },
3771
+ {
3772
+ "name": "creator",
3773
+ "type": "core::starknet::contract_address::ContractAddress"
2604
3774
  }
2605
3775
  ],
2606
3776
  "outputs": [],