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
Open
Show file tree
Hide file tree
Changes from 7 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
2 changes: 1 addition & 1 deletion defi/src/protocols/data2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

forkedFrom: [],
parentProtocol: "parent#marginfi",
listedAt: 1677103747,
Expand Down
4 changes: 2 additions & 2 deletions defi/src/protocols/data3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 %.

forkedFrom: [],
module: "rain/index.js",
twitter: "RainFi_",
Expand Down Expand Up @@ -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

forkedFrom: [],
module: "nxfinance/index.js",
twitter: "NX_Finance",
Expand Down