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
  • Conditions Preventing Depositing
  • Safety State: Pause
  • Kresko Asset Minimum Collateral Amount
  1. fundamentals
  2. CDPs
  3. ICDP

Deposit

Adding collateral to an ICDP

PreviousICDPNextWithdraw

Last updated 1 year ago

This documentation is a work in progress!

Depositing collateral will increase your .

In order to any , account must have collateral value to back them. The value is gained by depositing any of the whitelisted into the protocol.

This requires the user to give for the protocol to transfer the tokens from the users wallet into the main protocol contract where they reside until the user them or gets .

Unlike in minting, or withdrawals - anyone can deposit collateral for another account. Note that this is equal to donation if you are not controlling the account receiving the collateral.

Each deposit will emit an event with relevant information

/**
 * @notice Emitted when an account deposits collateral.
 * @param account The address of the account depositing collateral.
 * @param collateralAsset The address of the collateral asset.
 * @param amount The amount of the collateral asset that was deposited.
 */
event CollateralDeposited(address indexed account, address indexed collateralAsset, uint256 indexed amount);

Conditions Preventing Depositing

Safety State: Pause

In an emergency situation the multisig can pause the depositing of a Collateral Asset to prevent possible negative impact it would have.

Kresko Asset Minimum Collateral Amount

For the minimum deposit amount is 1e12 or 0.000001. Accounts must have collateral deposits greater than this amount if the collateral asset is a Kresko Asset.

health factor
mint
Kresko Asset
Collateral Assets
Approval
withdraws
liquidated
burning
Safety Council
Kresko Asset
collaterals