diff --git a/apps/explorer/src/pages/object-result/views/ObjectView.tsx b/apps/explorer/src/pages/object-result/views/ObjectView.tsx index 2f5d4dd3bd691..747d332e62185 100644 --- a/apps/explorer/src/pages/object-result/views/ObjectView.tsx +++ b/apps/explorer/src/pages/object-result/views/ObjectView.tsx @@ -1,7 +1,7 @@ // Copyright (c) Mysten Labs, Inc. // SPDX-License-Identifier: Apache-2.0 -import { CoinFormat, useFormatCoin } from '@mysten/core'; +import { CoinFormat, useFormatCoin, useResolveSuiNSName } from '@mysten/core'; import { ArrowUpRight16 } from '@mysten/icons'; import { type ObjectOwner, type SuiObjectResponse } from '@mysten/sui.js/client'; import { @@ -149,6 +149,12 @@ function VersionCard({ version, digest }: { version?: string; digest: string }) ); } +function AddressOwner({ address }: { address: string }) { + const { data: suinsDomainName } = useResolveSuiNSName(address); + + return ; +} + function OwnerCard({ objOwner, display, @@ -181,7 +187,7 @@ function OwnerCard({ ) : 'ObjectOwner' in objOwner ? ( ) : ( - + )} )}