git.delta.rocks / unique-network / refs/commits / 3ffbf1dba649

difftreelog

source

tests/src/eth/api/UniqueFungible.sol2.8 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: 942e8b2232interface ERC20 is Dummy, ERC165, ERC20Events {33	// Selector: name() 06fdde0334	function name() external view returns (string memory);3536	// Selector: symbol() 95d89b4137	function symbol() external view returns (string memory);3839	// Selector: totalSupply() 18160ddd40	function totalSupply() external view returns (uint256);4142	// Selector: decimals() 313ce56743	function decimals() external view returns (uint8);4445	// Selector: balanceOf(address) 70a0823146	function balanceOf(address owner) external view returns (uint256);4748	// Selector: transfer(address,uint256) a9059cbb49	function transfer(address to, uint256 amount) external returns (bool);5051	// Selector: transferFrom(address,address,uint256) 23b872dd52	function transferFrom(53		address from,54		address to,55		uint256 amount56	) external returns (bool);5758	// Selector: approve(address,uint256) 095ea7b359	function approve(address spender, uint256 amount) external returns (bool);6061	// Selector: allowance(address,address) dd62ed3e62	function allowance(address owner, address spender)63		external64		view65		returns (uint256);66}6768// Selector: c894dc3569interface Collection is Dummy, ERC165 {70	// Selector: setCollectionProperty(string,bytes) 2f073f6671	function setCollectionProperty(string memory key, bytes memory value)72		external;7374	// Selector: deleteCollectionProperty(string) 7b7debce75	function deleteCollectionProperty(string memory key) external;7677	// Throws error if key not found78	//79	// Selector: collectionProperty(string) cf24fd6d80	function collectionProperty(string memory key)81		external82		view83		returns (bytes memory);8485	// Selector: ethSetSponsor(address) 8f9af35686	function ethSetSponsor(address sponsor) external;8788	// Selector: ethConfirmSponsorship() a8580d1a89	function ethConfirmSponsorship() external;9091	// Selector: setLimit(string,uint32) 68db30ca92	function setLimit(string memory limit, uint32 value) external;9394	// Selector: setLimit(string,bool) ea67e4c295	function setLimit(string memory limit, bool value) external;9697	// Selector: contractAddress() f6b4dfb498	function contractAddress() external view returns (address);99}100101interface UniqueFungible is102	Dummy,103	ERC165,104	ERC20,105	ERC20UniqueExtensions,106	Collection107{}