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

difftreelog

source

js-packages/evm-abi/api/UniqueNativeFungible.sol3.0 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 the ERC-165 identifier for this interface is 0x1313556c16interface ERC20UniqueExtensions is Dummy, ERC165 {17	/// @dev EVM selector for this function is: 0xec069398,18	///  or in textual repr: balanceOfCross((address,uint256))19	function balanceOfCross(CrossAddress memory owner) external view returns (uint256);2021	/// @dev EVM selector for this function is: 0x2ada85ff,22	///  or in textual repr: transferCross((address,uint256),uint256)23	function transferCross(CrossAddress memory to, uint256 amount) external returns (bool);2425	/// @dev EVM selector for this function is: 0xd5cf430b,26	///  or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256)27	function transferFromCross(28		CrossAddress memory from,29		CrossAddress memory to,30		uint256 amount31	) external returns (bool);32}3334/// Cross account struct35struct CrossAddress {36	address eth;37	uint256 sub;38}3940/// @dev inlined interface41interface ERC20Events {42	event Transfer(address indexed from, address indexed to, uint256 value);43	event Approval(address indexed owner, address indexed spender, uint256 value);44}4546/// @dev the ERC-165 identifier for this interface is 0x942e8b2247interface ERC20 is Dummy, ERC165, ERC20Events {48	/// @dev EVM selector for this function is: 0xdd62ed3e,49	///  or in textual repr: allowance(address,address)50	function allowance(address owner, address spender) external view returns (uint256);5152	/// @dev EVM selector for this function is: 0x095ea7b3,53	///  or in textual repr: approve(address,uint256)54	function approve(address spender, uint256 amount) external returns (bool);5556	/// @dev EVM selector for this function is: 0x70a08231,57	///  or in textual repr: balanceOf(address)58	function balanceOf(address owner) external view returns (uint256);5960	/// @dev EVM selector for this function is: 0x313ce567,61	///  or in textual repr: decimals()62	function decimals() external view returns (uint8);6364	/// @dev EVM selector for this function is: 0x06fdde03,65	///  or in textual repr: name()66	function name() external view returns (string memory);6768	/// @dev EVM selector for this function is: 0x95d89b41,69	///  or in textual repr: symbol()70	function symbol() external view returns (string memory);7172	/// @dev EVM selector for this function is: 0x18160ddd,73	///  or in textual repr: totalSupply()74	function totalSupply() external view returns (uint256);7576	/// @dev EVM selector for this function is: 0xa9059cbb,77	///  or in textual repr: transfer(address,uint256)78	function transfer(address to, uint256 amount) external returns (bool);7980	/// @dev EVM selector for this function is: 0x23b872dd,81	///  or in textual repr: transferFrom(address,address,uint256)82	function transferFrom(83		address from,84		address to,85		uint256 amount86	) external returns (bool);87}8889interface UniqueNativeFungible is Dummy, ERC165, ERC20, ERC20UniqueExtensions {}