@medialane/sdk 0.14.2 → 0.15.1

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