DeltaPrime
Launch App
  • introduction
    • Unlock the Blockchain
  • Protocol
    • Overview
    • Decentralization
    • Efficiency
    • Security
      • Liquidations
      • Solvency checks
      • Prime account separation
      • Protocol gatekeeping
      • Asset whitelisting
      • Withdrawal guard
      • Token exposure protection
      • Depositor exposure selector
      • Oracle price data
      • Third-party security protocols
      • Stability pools
      • Internal security
      • Audits
      • Bug bounty
    • Business Model
    • Roadmap
  • Tokenomics
    • Ethos
    • $PRIME
      • Distribution
      • Vesting schedule
    • $sPRIME
      • Locked $sPRIME airdrops
    • Governance Power
  • Liquidity pools
    • Savings
    • Borrowing
    • Interest
      • Reasoning
      • Calculations
  • Prime Brokerage Account
    • Prime Account
    • Account Overview
    • Portfolio
      • Zaps
      • Assets
      • Liquidity Pools
      • Farms
    • Health and Borrowing Power
      • Calculations
      • Interpretation
    • Taking Profit
      • Withdrawing & Health
      • Withdrawing & Withdrawal Guard
    • Strategies
      • Efficient OC
  • Integrations
    • Protocols
    • Tokens
  • Developers
    • Contracts
    • How to run your own liquidation bot
  • Community
    • Community Content
    • Socials
    • Brand Assets
Powered by GitBook
LogoLogo

DeltaPrime

  • Launch App
On this page

Was this helpful?

Export as PDF
  1. Protocol

Efficiency

PreviousDecentralizationNextSecurity

Last updated 11 months ago

Was this helpful?

Unique to DeltaPrime is its Diamond Beacon Proxy pattern. This pattern allows us to:

  • Rapidly scale the protocol

  • Infinitely scale the protocol

  • Reduce setup costs

Diamond Beacon Proxy Pattern

The Deployment of Dedicated Smart Contracts is one of the core innovations of the DeltaPrime protocol, essential for providing undercollateralized loans. Deploying these logic filled contracts would normally be an expensive operation. An additional challenge would arise when trying to add integrations to DeltaPrime, as these contracts would be unable to interact with newly implemented features. These challenges are overcome by the use of a beacon proxy pattern. Instead of redeploying the same smart contract over and over again, one "blueprint" (beacon) smart contract is deployed to the network. This contract contains all necessary logic and integrations. Prime Accounts use this contract to perform any logical operations, at the same time being able to keep their state separated. This state holds all personal information of the Prime Account, like the tokens and stakes. This solution is cheaper than deploying all of the contract logic for every Prime Account. It also allows for upgrading contracts, enabling users to interact with new integrations when they are deployed to DeltaPrime. This is what makes DeltaPrime future-proof.

This video from DeltaPrime cofounder Kamil Muca explains in-depth what this pattern is, the benefits it provides, and how it works.

The Diamond Beacon Proxy model explained, May 5th 2023.