Kresko Documentation
GitHubWhitepaperTwitterDiscord
  • â„šī¸Kresko 101
  • fundamentals
    • CDPs
      • ICDP
        • Deposit
        • Withdraw
        • Burn / Repay
        • Minting / Borrowing
        • Liquidations
      • SCDP
        • Deposits
        • Swaps
        • Liquidations
    • Collateral Assets
    • Kresko Assets
    • KISS
    • Synth Wrap
    • Liquidations
    • Oracles
    • Glossary
    • Litepaper
  • Developers
    • Contracts Overview
    • Liquidations
    • Errors
  • contracts
    • Deployment Addresses
  • Security
    • Audits
    • Bug Bounty
  • Brand Kit
    • Design Resources
  • Events
    • Closed Beta
    • Quest for Kresk: Season 0
      • Scoring Methodology
      • FAQs
Powered by GitBook
On this page
  • Protocol Owned Collateral
  • Fees
  1. fundamentals
  2. CDPs
  3. SCDP

Swaps

Native exchange of Kresko Assets

PreviousDepositsNextLiquidations

Last updated 1 year ago

This documentation is a work in progress!

available in the is utilized by accounts swapping their for an equivalent value of another Kresko Asset, minus a .

The account receives the desired Kresko Assets either as newly minted ones – incurring debt to the SCDP – or from available protocol owned collateral resulting from prior exchanges.

The assets provided by the trader in a swap contribute to repaying any outstanding debt tied to the specific asset.

Swap creating protocol owned collateral and new debt

Protocol Owned Collateral

In the scenario where the asset has no existing debt, the provided assets become temporary deposits within the SCDP, marked as protocol owned collateral.

This temporary deposit serves as valid collateral subject to liquidation and a reservoir for subsequent swaps, offering an alternative to minting new assets and enhancing the efficiency of the protocol's capital utilization.

Fees

Swap fees are configured per asset and direction, thus the final fee percentage depends on the asset pair and direction taken.

Fees are not used as collateral and can be claimed at any time. They cannot be seized in a liquidation.

Subsequent swap uses the protocol owned collateral and repays the debt
Configuration of two Kresko Assets and the resulting fee distribution
SCDP
Kresko Assets
fee
Collateral value