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/// @title A contract that allows you to work with collections.21/// @dev the ERC-165 identifier for this interface is 0xb34d97e922contract Collection is Dummy, ERC165 {23 // /// Set collection property.24 // ///25 // /// @param key Property key.26 // /// @param value Propery value.27 // /// @dev EVM selector for this function is: 0x2f073f66,28 // /// or in textual repr: setCollectionProperty(string,bytes)29 // function setCollectionProperty(string memory key, bytes memory value) public {30 // require(false, stub_error);31 // key;32 // value;33 // dummy = 0;34 // }3536 /// Set collection properties.37 ///38 /// @param properties Vector of properties key/value pair.39 /// @dev EVM selector for this function is: 0x50b26b2a,40 /// or in textual repr: setCollectionProperties((string,bytes)[])41 function setCollectionProperties(Property[] memory properties) public {42 require(false, stub_error);43 properties;44 dummy = 0;45 }4647 // /// Delete collection property.48 // ///49 // /// @param key Property key.50 // /// @dev EVM selector for this function is: 0x7b7debce,51 // /// or in textual repr: deleteCollectionProperty(string)52 // function deleteCollectionProperty(string memory key) public {53 // require(false, stub_error);54 // key;55 // dummy = 0;56 // }5758 /// Delete collection properties.59 ///60 /// @param keys Properties keys.61 /// @dev EVM selector for this function is: 0xee206ee3,62 /// or in textual repr: deleteCollectionProperties(string[])63 function deleteCollectionProperties(string[] memory keys) public {64 require(false, stub_error);65 keys;66 dummy = 0;67 }6869 /// Get collection property.70 ///71 /// @dev Throws error if key not found.72 ///73 /// @param key Property key.74 /// @return bytes The property corresponding to the key.75 /// @dev EVM selector for this function is: 0xcf24fd6d,76 /// or in textual repr: collectionProperty(string)77 function collectionProperty(string memory key) public view returns (bytes memory) {78 require(false, stub_error);79 key;80 dummy;81 return hex"";82 }8384 /// Get collection properties.85 ///86 /// @param keys Properties keys. Empty keys for all propertyes.87 /// @return Vector of properties key/value pairs.88 /// @dev EVM selector for this function is: 0x285fb8e6,89 /// or in textual repr: collectionProperties(string[])90 function collectionProperties(string[] memory keys) public view returns (Property[] memory) {91 require(false, stub_error);92 keys;93 dummy;94 return new Property[](0);95 }9697 // /// Set the sponsor of the collection.98 // ///99 // /// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.100 // ///101 // /// @param sponsor Address of the sponsor from whose account funds will be debited for operations with the contract.102 // /// @dev EVM selector for this function is: 0x7623402e,103 // /// or in textual repr: setCollectionSponsor(address)104 // function setCollectionSponsor(address sponsor) public {105 // require(false, stub_error);106 // sponsor;107 // dummy = 0;108 // }109110 /// Set the sponsor of the collection.111 ///112 /// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.113 ///114 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.115 /// @dev EVM selector for this function is: 0x84a1d5a8,116 /// or in textual repr: setCollectionSponsorCross((address,uint256))117 function setCollectionSponsorCross(CrossAddress memory sponsor) public {118 require(false, stub_error);119 sponsor;120 dummy = 0;121 }122123 /// Whether there is a pending sponsor.124 /// @dev EVM selector for this function is: 0x058ac185,125 /// or in textual repr: hasCollectionPendingSponsor()126 function hasCollectionPendingSponsor() public view returns (bool) {127 require(false, stub_error);128 dummy;129 return false;130 }131132 /// Collection sponsorship confirmation.133 ///134 /// @dev After setting the sponsor for the collection, it must be confirmed with this function.135 /// @dev EVM selector for this function is: 0x3c50e97a,136 /// or in textual repr: confirmCollectionSponsorship()137 function confirmCollectionSponsorship() public {138 require(false, stub_error);139 dummy = 0;140 }141142 /// Remove collection sponsor.143 /// @dev EVM selector for this function is: 0x6e0326a3,144 /// or in textual repr: removeCollectionSponsor()145 function removeCollectionSponsor() public {146 require(false, stub_error);147 dummy = 0;148 }149150 /// Get current sponsor.151 ///152 /// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.153 /// @dev EVM selector for this function is: 0x6ec0a9f1,154 /// or in textual repr: collectionSponsor()155 function collectionSponsor() public view returns (CrossAddress memory) {156 require(false, stub_error);157 dummy;158 return CrossAddress(0x0000000000000000000000000000000000000000, 0);159 }160161 /// Get current collection limits.162 ///163 /// @return Array of collection limits164 /// @dev EVM selector for this function is: 0xf63bc572,165 /// or in textual repr: collectionLimits()166 function collectionLimits() public view returns (CollectionLimit[] memory) {167 require(false, stub_error);168 dummy;169 return new CollectionLimit[](0);170 }171172 /// Set limits for the collection.173 /// @dev Throws error if limit not found.174 /// @param limit Some limit.175 /// @dev EVM selector for this function is: 0x2316ee74,176 /// or in textual repr: setCollectionLimit((uint8,(bool,uint256)))177 function setCollectionLimit(CollectionLimit memory limit) public {178 require(false, stub_error);179 limit;180 dummy = 0;181 }182183 /// Get contract address.184 /// @dev EVM selector for this function is: 0xf6b4dfb4,185 /// or in textual repr: contractAddress()186 function contractAddress() public view returns (address) {187 require(false, stub_error);188 dummy;189 return 0x0000000000000000000000000000000000000000;190 }191192 /// Add collection admin.193 /// @param newAdmin Cross account administrator address.194 /// @dev EVM selector for this function is: 0x859aa7d6,195 /// or in textual repr: addCollectionAdminCross((address,uint256))196 function addCollectionAdminCross(CrossAddress memory newAdmin) public {197 require(false, stub_error);198 newAdmin;199 dummy = 0;200 }201202 /// Remove collection admin.203 /// @param admin Cross account administrator address.204 /// @dev EVM selector for this function is: 0x6c0cd173,205 /// or in textual repr: removeCollectionAdminCross((address,uint256))206 function removeCollectionAdminCross(CrossAddress memory admin) public {207 require(false, stub_error);208 admin;209 dummy = 0;210 }211212 // /// Add collection admin.213 // /// @param newAdmin Address of the added administrator.214 // /// @dev EVM selector for this function is: 0x92e462c7,215 // /// or in textual repr: addCollectionAdmin(address)216 // function addCollectionAdmin(address newAdmin) public {217 // require(false, stub_error);218 // newAdmin;219 // dummy = 0;220 // }221222 // /// Remove collection admin.223 // ///224 // /// @param admin Address of the removed administrator.225 // /// @dev EVM selector for this function is: 0xfafd7b42,226 // /// or in textual repr: removeCollectionAdmin(address)227 // function removeCollectionAdmin(address admin) public {228 // require(false, stub_error);229 // admin;230 // dummy = 0;231 // }232233 /// @dev EVM selector for this function is: 0x0b9f3890,234 /// or in textual repr: setCollectionNesting((bool,bool,address[]))235 function setCollectionNesting(CollectionNestingAndPermission memory collectionNestingAndPermissions) public {236 require(false, stub_error);237 collectionNestingAndPermissions;238 dummy = 0;239 }240241 // /// Toggle accessibility of collection nesting.242 // ///243 // /// @param enable If "true" degenerates to nesting: 'Owner' else to nesting: 'Disabled'244 // /// @dev EVM selector for this function is: 0x112d4586,245 // /// or in textual repr: setCollectionNesting(bool)246 // function setCollectionNesting(bool enable) public {247 // require(false, stub_error);248 // enable;249 // dummy = 0;250 // }251252 // /// Toggle accessibility of collection nesting.253 // ///254 // /// @param enable If "true" degenerates to nesting: {OwnerRestricted: [1, 2, 3]} else to nesting: 'Disabled'255 // /// @param collections Addresses of collections that will be available for nesting.256 // /// @dev EVM selector for this function is: 0x64872396,257 // /// or in textual repr: setCollectionNesting(bool,address[])258 // function setCollectionNesting(bool enable, address[] memory collections) public {259 // require(false, stub_error);260 // enable;261 // collections;262 // dummy = 0;263 // }264265 /// @dev EVM selector for this function is: 0x92c660a8,266 /// or in textual repr: collectionNesting()267 function collectionNesting() public view returns (CollectionNestingAndPermission memory) {268 require(false, stub_error);269 dummy;270 return CollectionNestingAndPermission(false, false, new address[](0));271 }272273 // /// Returns nesting for a collection274 // /// @dev EVM selector for this function is: 0x22d25bfe,275 // /// or in textual repr: collectionNestingRestrictedCollectionIds()276 // function collectionNestingRestrictedCollectionIds() public view returns (CollectionNesting memory) {277 // require(false, stub_error);278 // dummy;279 // return CollectionNesting(false,new uint256[](0));280 // }281282 // /// Returns permissions for a collection283 // /// @dev EVM selector for this function is: 0x5b2eaf4b,284 // /// or in textual repr: collectionNestingPermissions()285 // function collectionNestingPermissions() public view returns (CollectionNestingPermission[] memory) {286 // require(false, stub_error);287 // dummy;288 // return new CollectionNestingPermission[](0);289 // }290291 /// Set the collection access method.292 /// @param mode Access mode293 /// @dev EVM selector for this function is: 0x41835d4c,294 /// or in textual repr: setCollectionAccess(uint8)295 function setCollectionAccess(AccessMode mode) public {296 require(false, stub_error);297 mode;298 dummy = 0;299 }300301 /// Checks that user allowed to operate with collection.302 ///303 /// @param user User address to check.304 /// @dev EVM selector for this function is: 0x91b6df49,305 /// or in textual repr: allowlistedCross((address,uint256))306 function allowlistedCross(CrossAddress memory user) public view returns (bool) {307 require(false, stub_error);308 user;309 dummy;310 return false;311 }312313 // /// Add the user to the allowed list.314 // ///315 // /// @param user Address of a trusted user.316 // /// @dev EVM selector for this function is: 0x67844fe6,317 // /// or in textual repr: addToCollectionAllowList(address)318 // function addToCollectionAllowList(address user) public {319 // require(false, stub_error);320 // user;321 // dummy = 0;322 // }323324 /// Add user to allowed list.325 ///326 /// @param user User cross account address.327 /// @dev EVM selector for this function is: 0xa0184a3a,328 /// or in textual repr: addToCollectionAllowListCross((address,uint256))329 function addToCollectionAllowListCross(CrossAddress memory user) public {330 require(false, stub_error);331 user;332 dummy = 0;333 }334335 // /// Remove the user from the allowed list.336 // ///337 // /// @param user Address of a removed user.338 // /// @dev EVM selector for this function is: 0x85c51acb,339 // /// or in textual repr: removeFromCollectionAllowList(address)340 // function removeFromCollectionAllowList(address user) public {341 // require(false, stub_error);342 // user;343 // dummy = 0;344 // }345346 /// Remove user from allowed list.347 ///348 /// @param user User cross account address.349 /// @dev EVM selector for this function is: 0x09ba452a,350 /// or in textual repr: removeFromCollectionAllowListCross((address,uint256))351 function removeFromCollectionAllowListCross(CrossAddress memory user) public {352 require(false, stub_error);353 user;354 dummy = 0;355 }356357 /// Switch permission for minting.358 ///359 /// @param mode Enable if "true".360 /// @dev EVM selector for this function is: 0x00018e84,361 /// or in textual repr: setCollectionMintMode(bool)362 function setCollectionMintMode(bool mode) public {363 require(false, stub_error);364 mode;365 dummy = 0;366 }367368 // /// Check that account is the owner or admin of the collection369 // ///370 // /// @param user account to verify371 // /// @return "true" if account is the owner or admin372 // /// @dev EVM selector for this function is: 0x9811b0c7,373 // /// or in textual repr: isOwnerOrAdmin(address)374 // function isOwnerOrAdmin(address user) public view returns (bool) {375 // require(false, stub_error);376 // user;377 // dummy;378 // return false;379 // }380381 /// Check that account is the owner or admin of the collection382 ///383 /// @param user User cross account to verify384 /// @return "true" if account is the owner or admin385 /// @dev EVM selector for this function is: 0x3e75a905,386 /// or in textual repr: isOwnerOrAdminCross((address,uint256))387 function isOwnerOrAdminCross(CrossAddress memory user) public view returns (bool) {388 require(false, stub_error);389 user;390 dummy;391 return false;392 }393394 /// Returns collection type395 ///396 /// @return `Fungible` or `NFT` or `ReFungible`397 /// @dev EVM selector for this function is: 0xd34b55b8,398 /// or in textual repr: uniqueCollectionType()399 function uniqueCollectionType() public view returns (string memory) {400 require(false, stub_error);401 dummy;402 return "";403 }404405 /// Get collection owner.406 ///407 /// @return Tuble with sponsor address and his substrate mirror.408 /// If address is canonical then substrate mirror is zero and vice versa.409 /// @dev EVM selector for this function is: 0xdf727d3b,410 /// or in textual repr: collectionOwner()411 function collectionOwner() public view returns (CrossAddress memory) {412 require(false, stub_error);413 dummy;414 return CrossAddress(0x0000000000000000000000000000000000000000, 0);415 }416417 // /// Changes collection owner to another account418 // ///419 // /// @dev Owner can be changed only by current owner420 // /// @param newOwner new owner account421 // /// @dev EVM selector for this function is: 0x4f53e226,422 // /// or in textual repr: changeCollectionOwner(address)423 // function changeCollectionOwner(address newOwner) public {424 // require(false, stub_error);425 // newOwner;426 // dummy = 0;427 // }428429 /// Get collection administrators430 ///431 /// @return Vector of tuples with admins address and his substrate mirror.432 /// If address is canonical then substrate mirror is zero and vice versa.433 /// @dev EVM selector for this function is: 0x5813216b,434 /// or in textual repr: collectionAdmins()435 function collectionAdmins() public view returns (CrossAddress[] memory) {436 require(false, stub_error);437 dummy;438 return new CrossAddress[](0);439 }440441 /// Changes collection owner to another account442 ///443 /// @dev Owner can be changed only by current owner444 /// @param newOwner new owner cross account445 /// @dev EVM selector for this function is: 0x6496c497,446 /// or in textual repr: changeCollectionOwnerCross((address,uint256))447 function changeCollectionOwnerCross(CrossAddress memory newOwner) public {448 require(false, stub_error);449 newOwner;450 dummy = 0;451 }452}453454/// Cross account struct455struct CrossAddress {456 address eth;457 uint256 sub;458}459460/// Ethereum representation of `AccessMode` (see [`up_data_structs::AccessMode`]).461enum AccessMode {462 /// Access grant for owner and admins. Used as default.463 Normal,464 /// Like a [`Normal`](AccessMode::Normal) but also users in allow list.465 AllowList466}467468/// Ethereum representation of `NestingPermissions` (see [`up_data_structs::NestingPermissions`]) field.469struct CollectionNestingPermission {470 CollectionPermissionField field;471 bool value;472}473474/// Ethereum representation of `NestingPermissions` (see [`up_data_structs::NestingPermissions`]) fields as an enumeration.475enum CollectionPermissionField {476 /// Owner of token can nest tokens under it.477 TokenOwner,478 /// Admin of token collection can nest tokens under token.479 CollectionAdmin480}481482/// Nested collections.483struct CollectionNesting {484 bool token_owner;485 uint256[] ids;486}487488/// Nested collections and permissions489struct CollectionNestingAndPermission {490 /// Owner of token can nest tokens under it.491 bool token_owner;492 /// Admin of token collection can nest tokens under token.493 bool collection_admin;494 /// If set - only tokens from specified collections can be nested.495 address[] restricted;496}497498/// [`CollectionLimits`](up_data_structs::CollectionLimits) field representation for EVM.499struct CollectionLimit {500 CollectionLimitField field;501 OptionUint256 value;502}503504/// Optional value505struct OptionUint256 {506 /// Shows the status of accessibility of value507 bool status;508 /// Actual value if `status` is true509 uint256 value;510}511512/// [`CollectionLimits`](up_data_structs::CollectionLimits) fields representation for EVM.513enum CollectionLimitField {514 /// How many tokens can a user have on one account.515 AccountTokenOwnership,516 /// How many bytes of data are available for sponsorship.517 SponsoredDataSize,518 /// In any case, chain default: [`SponsoringRateLimit::SponsoringDisabled`]519 SponsoredDataRateLimit,520 /// How many tokens can be mined into this collection.521 TokenLimit,522 /// Timeouts for transfer sponsoring.523 SponsorTransferTimeout,524 /// Timeout for sponsoring an approval in passed blocks.525 SponsorApproveTimeout,526 /// Whether the collection owner of the collection can send tokens (which belong to other users).527 OwnerCanTransfer,528 /// Can the collection owner burn other people's tokens.529 OwnerCanDestroy,530 /// Is it possible to send tokens from this collection between users.531 TransferEnabled532}533534/// Ethereum representation of collection [`PropertyKey`](up_data_structs::PropertyKey) and [`PropertyValue`](up_data_structs::PropertyValue).535struct Property {536 string key;537 bytes value;538}539540/// @dev the ERC-165 identifier for this interface is 0x69d14d3e541contract ERC20UniqueExtensions is Dummy, ERC165 {542 /// @dev Function to check the amount of tokens that an owner allowed to a spender.543 /// @param owner crossAddress The address which owns the funds.544 /// @param spender crossAddress The address which will spend the funds.545 /// @return A uint256 specifying the amount of tokens still available for the spender.546 /// @dev EVM selector for this function is: 0xe0af4bd7,547 /// or in textual repr: allowanceCross((address,uint256),(address,uint256))548 function allowanceCross(CrossAddress memory owner, CrossAddress memory spender) public view returns (uint256) {549 require(false, stub_error);550 owner;551 spender;552 dummy;553 return 0;554 }555556 /// @notice A description for the collection.557 /// @dev EVM selector for this function is: 0x7284e416,558 /// or in textual repr: description()559 function description() public view returns (string memory) {560 require(false, stub_error);561 dummy;562 return "";563 }564565 /// @dev EVM selector for this function is: 0x269e6158,566 /// or in textual repr: mintCross((address,uint256),uint256)567 function mintCross(CrossAddress memory to, uint256 amount) public returns (bool) {568 require(false, stub_error);569 to;570 amount;571 dummy = 0;572 return false;573 }574575 /// @dev EVM selector for this function is: 0x0ecd0ab0,576 /// or in textual repr: approveCross((address,uint256),uint256)577 function approveCross(CrossAddress memory spender, uint256 amount) public returns (bool) {578 require(false, stub_error);579 spender;580 amount;581 dummy = 0;582 return false;583 }584585 // /// Burn tokens from account586 // /// @dev Function that burns an `amount` of the tokens of a given account,587 // /// deducting from the sender's allowance for said account.588 // /// @param from The account whose tokens will be burnt.589 // /// @param amount The amount that will be burnt.590 // /// @dev EVM selector for this function is: 0x79cc6790,591 // /// or in textual repr: burnFrom(address,uint256)592 // function burnFrom(address from, uint256 amount) public returns (bool) {593 // require(false, stub_error);594 // from;595 // amount;596 // dummy = 0;597 // return false;598 // }599600 /// Burn tokens from account601 /// @dev Function that burns an `amount` of the tokens of a given account,602 /// deducting from the sender's allowance for said account.603 /// @param from The account whose tokens will be burnt.604 /// @param amount The amount that will be burnt.605 /// @dev EVM selector for this function is: 0xbb2f5a58,606 /// or in textual repr: burnFromCross((address,uint256),uint256)607 function burnFromCross(CrossAddress memory from, uint256 amount) public returns (bool) {608 require(false, stub_error);609 from;610 amount;611 dummy = 0;612 return false;613 }614615 /// Mint tokens for multiple accounts.616 /// @param amounts array of pairs of account address and amount617 /// @dev EVM selector for this function is: 0x1acf2d55,618 /// or in textual repr: mintBulk((address,uint256)[])619 function mintBulk(AmountForAddress[] memory amounts) public returns (bool) {620 require(false, stub_error);621 amounts;622 dummy = 0;623 return false;624 }625626 /// @dev EVM selector for this function is: 0x2ada85ff,627 /// or in textual repr: transferCross((address,uint256),uint256)628 function transferCross(CrossAddress memory to, uint256 amount) public returns (bool) {629 require(false, stub_error);630 to;631 amount;632 dummy = 0;633 return false;634 }635636 /// @dev EVM selector for this function is: 0xd5cf430b,637 /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256)638 function transferFromCross(639 CrossAddress memory from,640 CrossAddress memory to,641 uint256 amount642 ) public returns (bool) {643 require(false, stub_error);644 from;645 to;646 amount;647 dummy = 0;648 return false;649 }650651 /// @notice Returns collection helper contract address652 /// @dev EVM selector for this function is: 0x1896cce6,653 /// or in textual repr: collectionHelperAddress()654 function collectionHelperAddress() public view returns (address) {655 require(false, stub_error);656 dummy;657 return 0x0000000000000000000000000000000000000000;658 }659660 /// @notice Balance of account661 /// @param owner An cross address for whom to query the balance662 /// @return The number of fingibles owned by `owner`, possibly zero663 /// @dev EVM selector for this function is: 0xec069398,664 /// or in textual repr: balanceOfCross((address,uint256))665 function balanceOfCross(CrossAddress memory owner) public view returns (uint256) {666 require(false, stub_error);667 owner;668 dummy;669 return 0;670 }671}672673struct AmountForAddress {674 address to;675 uint256 amount;676}677678/// @dev the ERC-165 identifier for this interface is 0x40c10f19679contract ERC20Mintable is Dummy, ERC165 {680 /// Mint tokens for `to` account.681 /// @param to account that will receive minted tokens682 /// @param amount amount of tokens to mint683 /// @dev EVM selector for this function is: 0x40c10f19,684 /// or in textual repr: mint(address,uint256)685 function mint(address to, uint256 amount) public returns (bool) {686 require(false, stub_error);687 to;688 amount;689 dummy = 0;690 return false;691 }692}693694/// @dev inlined interface695contract ERC20Events {696 event Transfer(address indexed from, address indexed to, uint256 value);697 event Approval(address indexed owner, address indexed spender, uint256 value);698}699700/// @dev the ERC-165 identifier for this interface is 0x942e8b22701contract ERC20 is Dummy, ERC165, ERC20Events {702 /// @dev EVM selector for this function is: 0x06fdde03,703 /// or in textual repr: name()704 function name() public view returns (string memory) {705 require(false, stub_error);706 dummy;707 return "";708 }709710 /// @dev EVM selector for this function is: 0x95d89b41,711 /// or in textual repr: symbol()712 function symbol() public view returns (string memory) {713 require(false, stub_error);714 dummy;715 return "";716 }717718 /// @dev EVM selector for this function is: 0x18160ddd,719 /// or in textual repr: totalSupply()720 function totalSupply() public view returns (uint256) {721 require(false, stub_error);722 dummy;723 return 0;724 }725726 /// @dev EVM selector for this function is: 0x313ce567,727 /// or in textual repr: decimals()728 function decimals() public view returns (uint8) {729 require(false, stub_error);730 dummy;731 return 0;732 }733734 /// @dev EVM selector for this function is: 0x70a08231,735 /// or in textual repr: balanceOf(address)736 function balanceOf(address owner) public view returns (uint256) {737 require(false, stub_error);738 owner;739 dummy;740 return 0;741 }742743 /// @dev EVM selector for this function is: 0xa9059cbb,744 /// or in textual repr: transfer(address,uint256)745 function transfer(address to, uint256 amount) public returns (bool) {746 require(false, stub_error);747 to;748 amount;749 dummy = 0;750 return false;751 }752753 /// @dev EVM selector for this function is: 0x23b872dd,754 /// or in textual repr: transferFrom(address,address,uint256)755 function transferFrom(756 address from,757 address to,758 uint256 amount759 ) public returns (bool) {760 require(false, stub_error);761 from;762 to;763 amount;764 dummy = 0;765 return false;766 }767768 /// @dev EVM selector for this function is: 0x095ea7b3,769 /// or in textual repr: approve(address,uint256)770 function approve(address spender, uint256 amount) public returns (bool) {771 require(false, stub_error);772 spender;773 amount;774 dummy = 0;775 return false;776 }777778 /// @dev EVM selector for this function is: 0xdd62ed3e,779 /// or in textual repr: allowance(address,address)780 function allowance(address owner, address spender) public view returns (uint256) {781 require(false, stub_error);782 owner;783 spender;784 dummy;785 return 0;786 }787}788789contract UniqueFungible is Dummy, ERC165, ERC20, ERC20Mintable, ERC20UniqueExtensions, Collection {}