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 various Switchboard collabs #8384

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

eldios
Copy link

@eldios eldios commented Oct 25, 2024

This PR is to add some missing collabs that we have in place at Switchboard.

Let me know if you need us to give more details or else.

@Define101
Copy link
Member

@eldios hello. We need answer for this 3 questions regarding all those projects

Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.):
Implementation Details: Briefly describe how the oracle is integrated into your project:
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:

@eldios
Copy link
Author

eldios commented Oct 28, 2024

hey @Define101,
thanks for your answer. I'm writing on behalf of Switchboard, so WE are the Oracle in this case.

I can have some of those partners vouch in to testify they use our services and/or have other members of our team or our partners send a couple lines about their part if that's okay.

I'll also try to find docs and links to help back the above.

Thank you

@@ -45007,7 +45007,7 @@ const data3: Protocol[] = [
cmcId: null,
category: "Yield Aggregator",
chains: ["Solana"],
oracles: ["Pyth"], // https://nx-finance.gitbook.io/nx-finance-whitepaper/protocol-mechanism/risks#oracle-risks
oracles: ["Pyth", "Switchboard"], // https://nx-finance.gitbook.io/nx-finance-whitepaper/protocol-mechanism/risks#oracle-risks
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide more proofs regarding this
Can only see Pyth
https://nx-finance.gitbook.io/nx-finance-whitepaper/audits-and-security/oracle

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing NXFinance until reply from their team

@@ -27503,7 +27503,7 @@ const data2: Protocol[] = [
chains: ["Solana"],
module: "marginfi/index.js",
twitter: "marginfi",
oracles: ["Pyth"],
oracles: ["Pyth", "Switchboard"],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs post, marginfi arena is exclusively using on-demand. They will comment on PR below

https://docs.marginfi.com/faqs#what-does-the-stale-oracles-error-mean

Copy link

@masterzorgon masterzorgon Oct 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello! my name is nathan and i'm the lead devrel at marginfi. marginfi does use switchboard heavily in both our The Arena and mrgnlend products — particularly for low-market cap assets. we recently finalized a big migration of switchboard oracles from push to pull-based

Copy link

@masterzorgon masterzorgon Oct 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all switchboard oracles now use pull-based on-demand oracles across the arena and mrgnlend

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@masterzorgon what markets are using switchboard?

Copy link

@mgild mgild Nov 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
image

Assets in global pool: jupSOL, hSOL, UXD, DUST


Assets in isolated pools:
META
HONEY
CLOUD
NOS
ISC
GUAC
MOTHER
DITH
SNS
laineSOL
bonkSOL
jucySOL
sUSD
picoSOL
compassSOL
KIN
STEP
OPOS
ORE
NEIRO
JSOL
LFG

(Denoted by switchboard logo in UI)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. All markets denoted with the switchboard logo on the UI are actively using switchboard oracles. Also note that all assets listed on The Arena, our sister product, use switchboard oracles.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks just checked this case,. The pools with more TVL seem to be Pyth correct? What % does Switchboard secure?
image

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mrgn replied in the rain fi thread

@@ -27303,7 +27303,7 @@ const data3: Protocol[] = [
cmcId: null,
category: "Lending",
chains: ["Solana"],
oracles: ["TWAP", "Pyth"],
oracles: ["TWAP", "Pyth", "Switchboard"],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of rainfi's announce posts

https://x.com/RainFi_/status/1797664895699435703

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What markets are using Switchboard ?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2024-11-04 at 10 37 55 AM Screenshot 2024-11-04 at 10 37 57 AM Screenshot 2024-11-04 at 10 38 02 AM Screenshot 2024-11-04 at 10 38 07 AM Screenshot 2024-11-04 at 10 38 12 AM Screenshot 2024-11-04 at 10 38 15 AM Screenshot 2024-11-04 at 10 38 20 AM Screenshot 2024-11-04 at 10 38 24 AM Screenshot 2024-11-04 at 10 38 28 AM

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WEN
MOUTAI
ZEUS
BODEN
SHDW
strongSOL
ISC
KMNO
POPCAT
MANEKI
BONKSOL
JUPSOL
JUCYSOL
COMPASSSOL
lanternSOL
stakeSOL
pwrSOL
DRIFT
hubSOL
MOTHER
dSOL
hSOL
ZEX
BILLY
tremp
vSOL
pathSOL
CLOUD
SEND
ATLAS
POLIS
BLOCK
FWOG
SCS
BNSOL
ORE
sSOL
MOODENG
SPX
GIGA
mini
$michi
DBR
GOAT
GRASS
GMT

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(All the tokens denoted with the switchboard logo on their site)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gm, I’m the head of risk at mrgn. Nearly ~ $9.1mm (at present time) worth of assets are supported by Switchboard in the main pool. In addition the isolated pools are supported by Switchboard as well.

The main pool banks are as follows:

jupSOL, hSOL, CLOUD, UXD, and DUSK.

Copy link

@solwhitey solwhitey Nov 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @Define101, I am the CEO at Rain.fi, I can confirm that we use Switchboard oracles to secure all tokens listed by @mgild. Since we operate with cross-collateralization, our entire TVL (currently 2.8M) is safeguarded through Switchboard oracles.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eldios 9.1m$ is less than 5% of the total TVL.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@solwhitey we added the oracle to rain fi here #8524

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For marginfi is only securing 9.1m$ in a 460m$ TVL. Very small %.

@mgild
Copy link

mgild commented Oct 29, 2024

Hi @Define101 oracle and evidence added

@@ -47735,7 +47735,7 @@ const data3: Protocol[] = [
module: "solayer/index.js",
twitter: "solayer_labs",
forkedFrom: [],
oracles: [],
oracles: ["Switchboard"],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solayer is using Switchboard for sUSD redemptions:

https://docs.solayer.org/susd/protocol-info/redemption-price#api-overview

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regarding solayer, majority of their TVL is liquid staked tokens of SOL , not their stablecoin

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have separated out sUSD here onto a separate project at "solayer-susd/index.js".
The new project configuration is now live on DeFiLlama so we can add this to the TVL for just the stablecoin for Switchboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants