From c2145b047ab821b1c3b4530de5248cc1ccdbfec7 Mon Sep 17 00:00:00 2001 From: Keith Date: Thu, 28 Nov 2024 15:26:58 +0900 Subject: [PATCH] feat: mark stable++ pool script --- src/constants/scripts.ts | 7 +++++++ src/pages/ScriptList/index.tsx | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/constants/scripts.ts b/src/constants/scripts.ts index 0c1fc1d3a..c5c3bca22 100644 --- a/src/constants/scripts.ts +++ b/src/constants/scripts.ts @@ -359,6 +359,13 @@ export const MainnetContractHashTags: ContractHashTag[] = [ hashType: 'data1', tag: 'UDT Limit Order', }, + { + codeHashes: ['0x26622198b66240e437e323e0fecf1c26ba3c8c28a45f03ed3ebb9f7f2bdc0055'], + txHashes: ['0xb22fd5c56a642f2e8447f7fb2bbd4faa85ce09ec9393113b9bdeec2b17cd4f95-0'], + depType: 'code', + hashType: 'type', + tag: 'Stable++ Pool', + }, ] export const TestnetContractHashTags: ContractHashTag[] = [ diff --git a/src/pages/ScriptList/index.tsx b/src/pages/ScriptList/index.tsx index 7dd4a3f6f..e2f655ba8 100644 --- a/src/pages/ScriptList/index.tsx +++ b/src/pages/ScriptList/index.tsx @@ -306,6 +306,13 @@ export const scripts = new Map([ code: 'https://github.com/ickb/v1-core/tree/454cfa966052a621c4e8b67001718c29ee8191a2/scripts/contracts/limit_order', }, ], + [ + 'Stable++ Pool', + { + name: 'Stable++ Pool', + description: 'Stable++ Pool', + }, + ], ]) const keysWithLinkValueInScript: (keyof ScriptAttributes)[] = ['rfc', 'code', 'doc', 'deprecated', 'website']