Skip to content

Commit

Permalink
fix: resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Ginowine committed Jul 24, 2024
1 parent adf2b1d commit 6c424e1
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions packages/vm/core/evm/iscmagic/ISCSandbox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/**
Expand Down

0 comments on commit 6c424e1

Please sign in to comment.