Abracadabra Developer Docs
  • Getting Started
    • Introduction
    • Security & Vulnerability
    • Architecture Overview
  • Core Contracts
    • DegenBox
    • BentoBox
    • Cauldrons
      • Cauldron V1
      • Cauldron V2
      • Cauldron V3
        • Cauldron V3_2
        • Whitelisted CauldronV3
      • Cauldron V4
        • PrivilegedCauldronV4
        • GmxV2 CauldronV4
      • Liquidations
    • Proxy Oracles
    • Strategies
    • MIMSwap
  • Periphery Contracts
    • Swappers
    • Wrappers
      • GLP Self Repaying
      • magicGLP
      • magicAPE
    • Withdrawers
    • CauldronOwner
    • GMX V2 OrderAgent & RouterOrder
      • GmxV2CauldronOrderAgent
      • GmxV2CauldronRouterOrder
  • Token Related
    • MIM
    • Omnichain MIM
      • LzProxyOFTV2
      • LzIndirectOFTV2
      • ElevatedMinterBurner
    • SPELL
    • sSPELL
      • 1InchSpellSwapper
    • mSPELL
      • mSpellSender
      • mSpellStaking
      • mSpellReporter
  • Deployment Addresses
    • Ethereum Mainnet
    • Arbitrum One
    • Optimism
    • Kava
    • Avalanche C-Chain
    • Polygon POS
    • Fantom Opera
    • BNB Chain
    • Moonriver
    • Base
    • Linea
    • Blast Mainnet
Powered by GitBook
On this page
  1. Core Contracts
  2. Cauldrons
  3. Cauldron V4

PrivilegedCauldronV4

A modified version of V4 allowing the creation of debt by owner

PreviousCauldron V4NextGmxV2 CauldronV4

Last updated 9 months ago

Priviledged CauldronV4 is a modified of the V4 cauldron that allows Abracadabra to create debt on behalf of the user. It was used during migration of 2 cauldrons to transfer a user position to this new cauldron

You can find the full contract of the cauldron .

✨ addBorrowPosition | Specific to Privileged

This function allows the masterContractOwner to create a debt position to a user.

function addBorrowPosition(address to, uint256 amount) external onlyMasterContractOwner returns (uint256 part)

Parameters

Name
Type

to

address

amount

uint256

here