From 87e38b1a1c78af6ab383b679d8155eb2daacd2c0 Mon Sep 17 00:00:00 2001 From: amatureApe Date: Wed, 9 Mar 2022 18:58:52 -0800 Subject: [PATCH] add pveFXSDocs --- src/docModel/DocsInterfaces.ts | 1 + src/docModel/docs.ts | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/src/docModel/DocsInterfaces.ts b/src/docModel/DocsInterfaces.ts index b935cf1a..11fb0b4b 100644 --- a/src/docModel/DocsInterfaces.ts +++ b/src/docModel/DocsInterfaces.ts @@ -16,6 +16,7 @@ export const OBTAIN_KEY_MULTITOKEN_POOL_ANY = "obtain.pool.multitoken"; export const OBTAIN_KEY_MULTITOKEN_POOL_ALL = "obtain.pool.multitoken.all"; export const OBTAIN_KEY_UNIV3 = "obtain.pool.uni3"; export const OBTAIN_KEY_ZAPPER = "obtain.pool.zapper"; +export const OBTAIN_KEY_PVEFXS = "obtain.pool.pvefxs"; export const RISK_DIVERGENCE_LOSS = "risk.divergence.loss"; export const RISK_SMART_CONTRACT = "risk.smart.contract"; diff --git a/src/docModel/docs.ts b/src/docModel/docs.ts index 08b29298..cbda58be 100644 --- a/src/docModel/docs.ts +++ b/src/docModel/docs.ts @@ -4,6 +4,7 @@ import { OBTAIN_KEY_MULTITOKEN_POOL_ANY, OBTAIN_KEY_ONETOKEN_JAR, OBTAIN_KEY_ONETOKEN_POOL, + OBTAIN_KEY_PVEFXS, OBTAIN_KEY_TWOTOKEN_POOL, OBTAIN_KEY_ZAPPER, RISK_CHAIN, @@ -902,4 +903,28 @@ export const ALL_JAR_DOCUMENTATION: AssetDocumentationDefinition[] = [ { key: RISK_SMART_CONTRACT, properties: { protocol: "B.Protocol" } }, ], }, + { + apiKey: "pveFXS", + social: [ + { + key: SocialKeys.SOCIAL_KEY_TWITTER_NAME, + properties: { name: "Frax", url: "https://twitter.com/fraxfinance" }, + }, + { + key: SocialKeys.SOCIAL_KEY_WEBSITE_NAME, + properties: { name: "Frax", url: "https://frax.finance/" }, + }, + { + key: SocialKeys.SOCIAL_KEY_TELEGRAM_NAME, + properties: { name: "Frax", url: "https://t.me/fraxfinance" } + }, + ], + obtain: [ + { key: OBTAIN_KEY_PVEFXS }, + ], + risks: [ + { key: RISK_SMART_CONTRACT, properties: { protocol: "Frax" } }, + { key: RISK_SMART_CONTRACT, properties: { protocol: "Pickle" } }, + ], + }, ];