From 9625c4bdad7b6efdd1a2295ba85d242480f7fe52 Mon Sep 17 00:00:00 2001 From: Moon Date: Mon, 30 Jan 2023 00:25:36 -0500 Subject: [PATCH] add contract to metadata --- contracts/CurioERC1155Wrapper.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contracts/CurioERC1155Wrapper.sol b/contracts/CurioERC1155Wrapper.sol index bef1694..deab02f 100644 --- a/contracts/CurioERC1155Wrapper.sol +++ b/contracts/CurioERC1155Wrapper.sol @@ -58,7 +58,8 @@ contract CurioERC1155Wrapper is ERC1155, ERC1155Metadata_URI, ERC1155Metadata, O '"image":"ipfs://', curio.ipfs_hash(), '",', '"external_url":"', urls[_id], '",', '"properties":{', - '"symbol":"', curio.symbol(), '"', + '"symbol":"', curio.symbol(), '",', + '"erc20_contract":"', Strings.toHexString(contracts[_id]), '"', '}', '}' ))));