diff --git a/src/constants/scripts.ts b/src/constants/scripts.ts index b717f7268..d2e475c02 100644 --- a/src/constants/scripts.ts +++ b/src/constants/scripts.ts @@ -489,4 +489,12 @@ export const TestnetContractHashTags: ContractHashTag[] = [ tag: 'omni_lock v2', category: 'lock', }, + { + codeHashes: ['0xd23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac'], + txHashes: ['0x4dcf3f3b09efac8995d6cbee87c5345e812d310094651e0c3d9a730f32dc9263-0'], + depType: 'dep_group', + hashType: 'type', + tag: 'JoyID', + category: 'lock', + }, ] diff --git a/src/pages/ScriptList/index.tsx b/src/pages/ScriptList/index.tsx index 6e06be2b8..c66418783 100644 --- a/src/pages/ScriptList/index.tsx +++ b/src/pages/ScriptList/index.tsx @@ -210,6 +210,7 @@ const ScriptList: FC = () => {
- {`{ + <> ++ ))} + > ){`${t(`script_list.on_chain_data`)}:`}
+ {script.codeHashes.map((codeHash: string, idx: number) => ( ++ {`{ "code_hash": "${codeHash}", "hash_type": "${script.hashType}", "out_point": { @@ -250,10 +248,9 @@ const ScriptList: FC = () => { }, "dep_type": "${script.depType}" }`} -- ))} - > - ) : null} +