Enjoyoors
  • WHITEPAPER
    • Introduction
    • User-abstracted rehypothecation
      • Giga CDP of Enjoyoors
      • Giga CDP design
      • Deep secondary liquidity for gigaAssets
    • Protocol stability
      • Efficient portfolio management
      • Supply regulation for gigaAssets
      • System-wide insurance
    • Risk management framework
      • Market risks
      • Technical risks
      • gigaAsset allocation rules
    • Decentralized system architecture
      • Public chain infrastructure
      • Orchestrator appchain
      • Oracles
      • Interchain communications
    • Key protocol features
      • Epochs
      • Reward auctions
      • Intelligent peg adapters
    • Further considerations
      • Making RWAs work harder
      • Own DeFi ecosystem
      • Our priorities
  • SYSTEM ARCHITECTURE
    • Overview
    • Public Blockchain Infrastructure
      • Vaults
      • gigaAsset Manager
      • Target Protocols
      • Target Protocol Adapters
      • Intelligent Peg Adapters
      • AMM Pools
      • Rewards Treasury
    • AVS Relayer
      • Relayers
    • Enjoyoors Orchestrator AppChain (L3)
      • Enjoyoors Management System
      • Orchestrator AppChain Layers
      • Security Mechanisms
      • Price Oracle
      • Governance
      • gigaCDP
      • Portfolio Management System
      • Auctions
      • Insurance Pool
    • gigaAsset Bridge
    • gigaAssets
    • Epochs
  • PROTOCOL FLOWS
    • Deposit
    • Withdraw
    • Auction
  • RISKS
    • Protocol risks
Powered by GitBook
On this page
Export as PDF
  1. PROTOCOL FLOWS

Deposit

PreviousPROTOCOL FLOWSNextWithdraw

Last updated 3 months ago

Deposit process step-by-step:

  1. External user deposits supported assets into the via .

  2. The emits corresponding event.

  3. The reads the emitted event from .

  4. The reaches consensus.

  5. The signs and transmits a message containing deposit details to the

  6. The adds deposited assets to the queue.

  7. The processes the queue in the next epoch and updates collateral amount in the deposited assets.

  8. The aggregates CDPs to calculate actual and target circulating supply of

  9. The emits a corresponding event.

  10. The reads the emitted event from .

  11. The recalculates portfolio allocations to target protocols and based on the data obtained from the .

  12. The decides on liquidity rebalancing based on new portfolio allocation details.

  13. The emits a corresponding event.

  14. The reads the emitted event from

  15. The reaches consensus.

  16. The signs and transmits a message containing rebalancing details to the .

  17. The mints in accordance with new portfolio allocation details.

  18. The supplies liquidity to the through the .

  19. The supplies liquidity to the through the .

@startuml
autonumber
actor "External user"
participant Vault
participant Relayer
participant "gigaCDP"
participant PMS
participant "gigaAsset Manager"
participant "Target Protocol"
participant "AMM Pool"

== Epoch 1 ==
"External user" -> Vault: Deposit assets
Vault -> Vault: Emit event
Relayer -> Vault: Listen to events
Relayer -> Relayer: Reach consensus
Relayer -> "gigaCDP": Broadcast signed transaction
"gigaCDP" -> "gigaCDP": Add the deposited assets to the queue

== Epoch 2 ==
"gigaCDP" -> "gigaCDP": Open / update CDP
"gigaCDP" -> "gigaCDP": Calculate actual and target level of gigaAssets
"gigaCDP" -> "gigaCDP": Emit event
PMS -> "gigaCDP": Get actual and target level of gigaAssets
PMS -> PMS: Recalculate portfolio weights
PMS -> PMS: Decide on gigaAssets liquidity rebalancing
PMS -> PMS: Emit event
Relayer -> PMS: Listen to events
Relayer -> Relayer: Reach consensus
Relayer -> "gigaAsset Manager": Broadcast signed transaction
"gigaAsset Manager" -> "gigaAsset Manager": Mint gigaAssets
"gigaAsset Manager" -> "Target Protocol": Supply liquidity
"gigaAsset Manager" -> "AMM Pool": Supply liquidity
@enduml
Vault
enjoyoors.xyz
Vault
Relayer
Vault
Relayer
Relayer
gigaCDP.
gigaCDP
gigaCDP
gigaCDP
gigaAssets.
gigaCDP
PMS
gigaCDP
PMS
AMM pools
gigaCDP
PMS
gigaAssets
PMS
Relayer
PMS.
Relayer
Relayer
gigaAsset Manager
gigaAsset Manager
gigaAssets
gigaAsset Manager
Target Protocols
Target Protocol Adapters
gigaAsset Manager
AMM Pools
Intelligent Peg Adapters
Deposit process sequence diagram