1// SPDX-License-Identifier: OTHER2// This code is automatically generated34pragma solidity >=0.8.0 <0.9.0;56/// @dev common stubs holder7contract Dummy {8 uint8 dummy;9 string stub_error = "this contract is implemented in native";10}1112contract ERC165 is Dummy {13 function supportsInterface(bytes4 interfaceID) external view returns (bool) {14 require(false, stub_error);15 interfaceID;16 return true;17 }18}1920/// @dev inlined interface21contract ERC20Events {22 event Transfer(address indexed from, address indexed to, uint256 value);23 event Approval(address indexed owner, address indexed spender, uint256 value);24}2526/// @dev the ERC-165 identifier for this interface is 0x942e8b2227contract ERC20 is Dummy, ERC165, ERC20Events {28 /// @dev EVM selector for this function is: 0x06fdde03,29 /// or in textual repr: name()30 function name() public view returns (string memory) {31 require(false, stub_error);32 dummy;33 return "";34 }3536 /// @dev EVM selector for this function is: 0x95d89b41,37 /// or in textual repr: symbol()38 function symbol() public view returns (string memory) {39 require(false, stub_error);40 dummy;41 return "";42 }4344 /// @dev EVM selector for this function is: 0x18160ddd,45 /// or in textual repr: totalSupply()46 function totalSupply() public view returns (uint256) {47 require(false, stub_error);48 dummy;49 return 0;50 }5152 /// @dev EVM selector for this function is: 0x313ce567,53 /// or in textual repr: decimals()54 function decimals() public view returns (uint8) {55 require(false, stub_error);56 dummy;57 return 0;58 }5960 /// @dev EVM selector for this function is: 0x70a08231,61 /// or in textual repr: balanceOf(address)62 function balanceOf(address owner) public view returns (uint256) {63 require(false, stub_error);64 owner;65 dummy;66 return 0;67 }6869 /// @dev EVM selector for this function is: 0xa9059cbb,70 /// or in textual repr: transfer(address,uint256)71 function transfer(address to, uint256 amount) public returns (bool) {72 require(false, stub_error);73 to;74 amount;75 dummy = 0;76 return false;77 }7879 /// @dev EVM selector for this function is: 0x23b872dd,80 /// or in textual repr: transferFrom(address,address,uint256)81 function transferFrom(82 address from,83 address to,84 uint256 amount85 ) public returns (bool) {86 require(false, stub_error);87 from;88 to;89 amount;90 dummy = 0;91 return false;92 }9394 /// @dev EVM selector for this function is: 0x095ea7b3,95 /// or in textual repr: approve(address,uint256)96 function approve(address spender, uint256 amount) public returns (bool) {97 require(false, stub_error);98 spender;99 amount;100 dummy = 0;101 return false;102 }103104 /// @dev EVM selector for this function is: 0xdd62ed3e,105 /// or in textual repr: allowance(address,address)106 function allowance(address owner, address spender) public view returns (uint256) {107 require(false, stub_error);108 owner;109 spender;110 dummy;111 return 0;112 }113}114115contract UniqueNativeFungible is Dummy, ERC165, ERC20 {}