git.delta.rocks / unique-network / refs/commits / 0f86ef07553f

difftreelog

source

tests/src/eth/api/UniqueRefungibleToken.sol4.1 KiBsourcehistory
1// SPDX-License-Identifier: OTHER2// This code is automatically generated34pragma solidity >=0.8.0 <0.9.0;56// Common stubs holder7interface Dummy {89}1011interface ERC165 is Dummy {12	function supportsInterface(bytes4 interfaceID) external view returns (bool);13}1415// Inline16interface ERC20Events {17	event Transfer(address indexed from, address indexed to, uint256 value);18	event Approval(19		address indexed owner,20		address indexed spender,21		uint256 value22	);23}2425// Selector: 79cc679026interface ERC20UniqueExtensions is Dummy, ERC165 {27	// Selector: burnFrom(address,uint256) 79cc679028	function burnFrom(address from, uint256 amount) external returns (bool);29}3031// Selector: 7d9262e632interface Collection is Dummy, ERC165 {33	// Selector: setCollectionProperty(string,bytes) 2f073f6634	function setCollectionProperty(string memory key, bytes memory value)35		external;3637	// Selector: deleteCollectionProperty(string) 7b7debce38	function deleteCollectionProperty(string memory key) external;3940	// Throws error if key not found41	//42	// Selector: collectionProperty(string) cf24fd6d43	function collectionProperty(string memory key)44		external45		view46		returns (bytes memory);4748	// Selector: setCollectionSponsor(address) 7623402e49	function setCollectionSponsor(address sponsor) external;5051	// Selector: confirmCollectionSponsorship() 3c50e97a52	function confirmCollectionSponsorship() external;5354	// Selector: setCollectionLimit(string,uint32) 6a3841db55	function setCollectionLimit(string memory limit, uint32 value) external;5657	// Selector: setCollectionLimit(string,bool) 993b7fba58	function setCollectionLimit(string memory limit, bool value) external;5960	// Selector: contractAddress() f6b4dfb461	function contractAddress() external view returns (address);6263	// Selector: addCollectionAdminSubstrate(uint256) 5730062b64	function addCollectionAdminSubstrate(uint256 newAdmin) external view;6566	// Selector: removeCollectionAdminSubstrate(uint256) 4048fcf967	function removeCollectionAdminSubstrate(uint256 newAdmin) external view;6869	// Selector: addCollectionAdmin(address) 92e462c770	function addCollectionAdmin(address newAdmin) external view;7172	// Selector: removeCollectionAdmin(address) fafd7b4273	function removeCollectionAdmin(address admin) external view;7475	// Selector: setCollectionNesting(bool) 112d458676	function setCollectionNesting(bool enable) external;7778	// Selector: setCollectionNesting(bool,address[]) 6487239679	function setCollectionNesting(bool enable, address[] memory collections)80		external;8182	// Selector: setCollectionAccess(uint8) 41835d4c83	function setCollectionAccess(uint8 mode) external;8485	// Selector: addToCollectionAllowList(address) 67844fe686	function addToCollectionAllowList(address user) external view;8788	// Selector: removeFromCollectionAllowList(address) 85c51acb89	function removeFromCollectionAllowList(address user) external view;9091	// Selector: setCollectionMintMode(bool) 00018e8492	function setCollectionMintMode(bool mode) external;93}9495// Selector: 942e8b2296interface ERC20 is Dummy, ERC165, ERC20Events {97	// Selector: name() 06fdde0398	function name() external view returns (string memory);99100	// Selector: symbol() 95d89b41101	function symbol() external view returns (string memory);102103	// Selector: totalSupply() 18160ddd104	function totalSupply() external view returns (uint256);105106	// Selector: decimals() 313ce567107	function decimals() external view returns (uint8);108109	// Selector: balanceOf(address) 70a08231110	function balanceOf(address owner) external view returns (uint256);111112	// Selector: transfer(address,uint256) a9059cbb113	function transfer(address to, uint256 amount) external returns (bool);114115	// Selector: transferFrom(address,address,uint256) 23b872dd116	function transferFrom(117		address from,118		address to,119		uint256 amount120	) external returns (bool);121122	// Selector: approve(address,uint256) 095ea7b3123	function approve(address spender, uint256 amount) external returns (bool);124125	// Selector: allowance(address,address) dd62ed3e126	function allowance(address owner, address spender)127		external128		view129		returns (uint256);130}131132interface UniqueRFT is Dummy, ERC165, Collection {}133134interface UniqueRefungibleToken is135	Dummy,136	ERC165,137	ERC20,138	ERC20UniqueExtensions,139	UniqueRFT140{}