April 6th, 2023: @Twitter has been randomly shutting down API access for many apps and sadly we were affected today too. Hopefully we will be restored soon! We appreciate your patience until then.
On DeltaPrime we use an Escrow smart contract, the DSC (Dedicated Smart Contract), to send collateral and borrowed funds to.
This is your personal smart contract that, similarly to your wallet, holds your assets. It is controlled by you.
Safety features are put in place to prevent malicious actions and provide security. The two most important features are:
- (Active) value is being tracked and gets liquidated when necessary
- Funds can only be sent to whitelisted addresses
A walled garden🧱🌿🧱
Solvency Checks
On top of this, any action performed with your Prime Account (the account controlling the DSC) will revert if it doesn't pass the solvency check.
This is a mechanism at the end of every action that makes sure your account is solvent at the end of the action.
If any action would leave your account insolvent, it gets reverted.
❌No to reentrancy (additionally ofc a non-reentrant method in every function)
❌No to accidental self-liquidations
❌No to any other malicious actions leaving your account insolvent
Oracle
For a protocol like DeltaPrime, having accurate pricing is Crucial.
Every action that can decrease the value of Prime Account’s portfolio is checked against market price feeds. That all derivatives (eg LP) to project the protocol against flash loan and reenttancy attacks
The price feeds are taken from multiple price sources (CEXs, DEXs from multiple chains) and controlled for suspicious market behaviour (like price spikes that indicate market manipulation).
Withdrawal Guard
The withdrawal guard negates any unauthorized withdrawals in case of price manipulation.
All of this wasn't possible without proper preparation and the four(!) audits we have done so far.
Our next batch of upgrades is as good as ready, but before we release them (gradually), there is one element left.
Audit #5.
Of course this is a subset of safety features of DeltaPrime. Want us to dive into a different feature, or dive deeper into one of the features mentioned above? Let us know below✊
Safety first🧷
• • •
Missing some Tweet in this thread? You can try to
force a refresh
2⃣Simultaneously $GLP yields will still be high in at least the next 8 days, with an expected base APR of 34.07% (-> 33.68%), leading to a @yieldyak_ $GLP farm base APY of 40%-45% (-> 49.1%).
What if I told you that these three things are true:
✅Most of our users who borrow, are profiting
✅The interest rates will increase further this week
✅Not a single person borrowing will mind
Why?🧵
First a look at what makes people (yours truly included) borrow at these rates in the first place:
The price you pay
Yes, you can borrow USDC on AAVE for 2.42%, but what will you do with it?
After all, you just locked 120% of your USDC in #AVAX.
Example strats discussed:
♥️Health neutral
🧮Delta neutral
📈Balanced
👍Efficient Overcollateralization
🧵TLDR + current highest APYs per strat🧵:
Note: strategies below are meant as examples of potential ways you can develop your own strategies. While all numbers are accurate at the time of writing (and include interest paid), they can change over time. NFA, always DYOR, you know the drill.
Legal gave the go, let's dive🧵
♥️Health neutral♥️
A health neutral strat mitigates liquidation risk.
This can be set up by depositing and borrowing the same (or if peg remains, pegged asset).
Because your borrowed value and collateral have a correlation of 1, you won't get liquidated.