Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pveFXSDocs to pf-core #196

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/docModel/DocsInterfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
25 changes: 25 additions & 0 deletions src/docModel/docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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" } },
],
},
];