diff --git a/components/AddressInfos/AddressInfos.tsx b/components/AddressInfos/AddressInfos.tsx index ba392ab..65cc83d 100644 --- a/components/AddressInfos/AddressInfos.tsx +++ b/components/AddressInfos/AddressInfos.tsx @@ -267,6 +267,10 @@ const AddressInfos: React.FC = ({ assetAddress, userAddress = '' }) => { ); }; + if (assetAddress === null) { + return no address set; + } + return (
@@ -275,7 +279,6 @@ const AddressInfos: React.FC = ({ assetAddress, userAddress = '' }) => { - {renderTags()}
); diff --git a/components/DataKeysTable/ProfileSchema.json b/components/DataKeysTable/ProfileSchema.json index adcd7a5..4ad4c1c 100644 --- a/components/DataKeysTable/ProfileSchema.json +++ b/components/DataKeysTable/ProfileSchema.json @@ -6,6 +6,7 @@ "valueType": "address", "valueContent": "Address" }, + { "name": "SupportedStandards:LSP3Profile", "key": "0xeafec4d89fa9619884b600005ef83ad9559033e6e941db7d7c495acdce616347", @@ -47,5 +48,33 @@ "keyType": "Array", "valueType": "address", "valueContent": "Address" + }, + { + "name": "LSP1UniversalReceiverDelegate:LSP7Tokens_SenderNotification", + "key": "0x0cfc51aec37c55a4d0b10000429ac7a06903dbc9c13dfcb3c9d11df8194581fa", + "keyType": "Mapping", + "valueType": "address", + "valueContent": "Address" + }, + { + "name": "LSP1UniversalReceiverDelegate:LSP7Tokens_RecipientNotification", + "key": "0x0cfc51aec37c55a4d0b1000020804611b3e2ea21c480dc465142210acf4a2485", + "keyType": "Mapping", + "valueType": "address", + "valueContent": "Address" + }, + { + "name": "LSP1UniversalReceiverDelegate:LSP8Tokens_SenderNotification", + "key": "0x0cfc51aec37c55a4d0b10000b23eae7e6d1564b295b4c3e3be402d9a2f0776c5", + "keyType": "Mapping", + "valueType": "address", + "valueContent": "Address" + }, + { + "name": "LSP1UniversalReceiverDelegate:LSP8Tokens_RecipientNotification", + "key": "0x0cfc51aec37c55a4d0b100000b084a55ebf70fd3c06fd755269dac2212c4d3f0", + "keyType": "Mapping", + "valueType": "address", + "valueContent": "Address" } ] diff --git a/components/ValueTypeDecoder/ValueTypeDecoder.tsx b/components/ValueTypeDecoder/ValueTypeDecoder.tsx index be91f5f..5092854 100644 --- a/components/ValueTypeDecoder/ValueTypeDecoder.tsx +++ b/components/ValueTypeDecoder/ValueTypeDecoder.tsx @@ -66,6 +66,18 @@ const ValueTypeDecoder: React.FC = ({ }, [address, web3, erc725JSONSchema, value]); try { + if (decodedDataOneKey[0].name.startsWith('LSP1UniversalReceiverDelegate')) { + const badgeContent = decodedDataOneKey[0].value; + + return ( + <> + {value} +
+ + + + ); + } if ( !decodedDataOneKey[0].name.endsWith('[]') && (typeof decodedDataOneKey[0].value === 'string' ||