From 9876cbab61657090d5e77f86f7bbd58c44cf7275 Mon Sep 17 00:00:00 2001 From: Keith Date: Fri, 20 Dec 2024 17:39:02 +0800 Subject: [PATCH] feat: add token info of usdi --- src/constants/scripts.ts | 14 ++++++++++++++ src/pages/ScriptList/index.tsx | 8 ++++++++ 2 files changed, 22 insertions(+) diff --git a/src/constants/scripts.ts b/src/constants/scripts.ts index 474187ec1..9711226fc 100644 --- a/src/constants/scripts.ts +++ b/src/constants/scripts.ts @@ -394,6 +394,13 @@ export const MainnetContractHashTags: ContractHashTag[] = [ hashType: 'type', tag: 'Stable++ Asset', }, + { + codeHashes: ['0xbfa35a9c38a676682b65ade8f02be164d48632281477e36f8dc2f41f79e56bfc'], + txHashes: ['0xf6a5eef65101899db9709c8de1cc28f23c1bee90d857ebe176f6647ef109e20d-0'], + depType: 'code', + hashType: 'type', + tag: 'USDI Asset', + }, ] export const TestnetContractHashTags: ContractHashTag[] = [ @@ -805,6 +812,13 @@ export const TestnetContractHashTags: ContractHashTag[] = [ hashType: 'data1', tag: 'UDT Limit Order', }, + { + codeHashes: ['0xcc9dc33ef234e14bc788c43a4848556a5fb16401a04662fc55db9bb201987037'], + txHashes: ['0x03d029480416c2fc927dfbfe0ed1916ffaf55d1e1f3146c55cf2d3dd5e674e61-0'], + depType: 'code', + hashType: 'type', + tag: 'USDI Asset', + }, ] const getLumosScripts = (scripts: ContractHashTag[]): ScriptConfigs => diff --git a/src/pages/ScriptList/index.tsx b/src/pages/ScriptList/index.tsx index 7f99ebfd3..edc118734 100644 --- a/src/pages/ScriptList/index.tsx +++ b/src/pages/ScriptList/index.tsx @@ -347,6 +347,14 @@ export const scripts = new Map([ website: 'https://www.stablepp.xyz/stablecoin', }, ], + [ + 'USDI Asset', + { + name: 'USDI Asset', + description: 'USDI Asset', + website: 'https://www.interpaystellar.com/', + }, + ], ]) const keysWithLinkValueInScript: (keyof ScriptAttributes)[] = ['rfc', 'code', 'doc', 'deprecated', 'website']