Files
explore/ui/crossChain/transfers/utils.ts
T
Zach Kelling d15691316a feat: rename @blockscout to @luxfi, monochrome theme, horizontal blocks
- Rename all @blockscout/* npm packages to @luxfi/* aliases (150+ files)
- Override blue accent colors to gray for monochrome theme
- Fix dropdown/menu/popover fonts to use Geist Sans
- Change Latest Blocks to horizontal scrolling layout
- Show dashes instead of zeros for validator stats on error
- Fix GHA deploy step to use correct deployment name
2026-03-02 12:28:15 -08:00

15 lines
369 B
TypeScript

import type { InterchainTransfer } from '@luxfi/interchain-indexer-types';
export const getItemKey = (data: InterchainTransfer, index?: number) => {
return [
data.message_id,
data.sender?.hash,
data.source_token?.address_hash,
data.source_amount,
data.source_chain?.id,
index,
]
.filter((item) => item !== undefined)
.join('-');
};