From 6c424e176e5728df0c43528188de1f256b63422b Mon Sep 17 00:00:00 2001 From: Gino Date: Wed, 17 Jul 2024 20:12:53 +0100 Subject: [PATCH] fix: resolve conflict --- packages/vm/core/evm/iscmagic/ISCSandbox.sol | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/packages/vm/core/evm/iscmagic/ISCSandbox.sol b/packages/vm/core/evm/iscmagic/ISCSandbox.sol index e78b919d51..94ddcd8e6b 100644 --- a/packages/vm/core/evm/iscmagic/ISCSandbox.sol +++ b/packages/vm/core/evm/iscmagic/ISCSandbox.sol @@ -180,13 +180,18 @@ interface ISCSandbox { * @dev Retrieves the details of an IRC27 NFT based on its ID. * @param id The ID of the IRC27 NFT. * @return The IRC27NFT data of the specified NFT. + * + * Note: the metadata.uri field is encoded as a data URL with: + * base64(jsonEncode({ + * "name": NFT.name, + * "description": NFT.description, + * "image": NFT.URI + * })) + * + * Note: metadata does not include attributes, use `getIRC27TokenURI` to get those attributes off-chain in JSON form. */ - // Note: the metadata.uri field is encoded as a data URL with: - // base64(jsonEncode({ - // "name": NFT.name, - // "description": NFT.description, - // "image": NFT.URI - // })) + function getIRC27NFTData(NFTID id) external view returns (IRC27NFT memory); + function getIRC27NFTData(NFTID id) external view returns (IRC27NFT memory); /**