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

difftreelog

source

tests/src/eth/api/UniqueNativeFungible.sol2.2 KiBsourcehistory
1// SPDX-License-Identifier: OTHER2// This code is automatically generated34pragma solidity >=0.8.0 <0.9.0;56/// @dev common stubs holder7interface Dummy {89}1011interface ERC165 is Dummy {12	function supportsInterface(bytes4 interfaceID) external view returns (bool);13}1415/// @dev inlined interface16interface ERC20Events {17	event Transfer(address indexed from, address indexed to, uint256 value);18	event Approval(address indexed owner, address indexed spender, uint256 value);19}2021/// @dev the ERC-165 identifier for this interface is 0x942e8b2222interface ERC20 is Dummy, ERC165, ERC20Events {23	/// @dev EVM selector for this function is: 0x06fdde03,24	///  or in textual repr: name()25	function name() external view returns (string memory);2627	/// @dev EVM selector for this function is: 0x95d89b41,28	///  or in textual repr: symbol()29	function symbol() external view returns (string memory);3031	/// @dev EVM selector for this function is: 0x18160ddd,32	///  or in textual repr: totalSupply()33	function totalSupply() external view returns (uint256);3435	/// @dev EVM selector for this function is: 0x313ce567,36	///  or in textual repr: decimals()37	function decimals() external view returns (uint8);3839	/// @dev EVM selector for this function is: 0x70a08231,40	///  or in textual repr: balanceOf(address)41	function balanceOf(address owner) external view returns (uint256);4243	/// @dev EVM selector for this function is: 0xa9059cbb,44	///  or in textual repr: transfer(address,uint256)45	function transfer(address to, uint256 amount) external returns (bool);4647	/// @dev EVM selector for this function is: 0x23b872dd,48	///  or in textual repr: transferFrom(address,address,uint256)49	function transferFrom(50		address from,51		address to,52		uint256 amount53	) external returns (bool);5455	/// @dev EVM selector for this function is: 0x095ea7b3,56	///  or in textual repr: approve(address,uint256)57	function approve(address spender, uint256 amount) external returns (bool);5859	/// @dev EVM selector for this function is: 0xdd62ed3e,60	///  or in textual repr: allowance(address,address)61	function allowance(address owner, address spender) external view returns (uint256);62}6364interface UniqueNativeFungible is Dummy, ERC165, ERC20 {}