Perp v2
Perp v2
  • About Perpetual Protocol
    • Social Links
    • Governance
    • v2 Era Ecosystem
    • PERP Token
  • Terms of Service
  • General
    • Wallets
    • Transfering Assets
    • Deposit & Withdrawal
    • Perpetual + Uniswap
    • FAQs
    • Guides
    • Legacy Reward Programs
    • Security
  • Hot Tub
  • Trading on Perp v2
    • How It Works
    • UI Overview
    • Perpetual Futures Basics
    • Trading Quick-start
    • Opening and Closing Positions
    • Account Value & More
    • Funding Payments
    • Order Types
    • Trading Fees and Gas Fees
    • Managing Risk
    • Multi-collateral
    • More docs
  • Providing Liquidity
    • Basics
    • Introduction to Maker UI
    • Add / Remove Liquidity
    • Estimated Fees and Rewards APR
    • More on LPing
    • Tools for LPs
  • Perp v2 Specs
  • Developer Docs
    • Developer FAQs
    • Source Code
    • Protocol Attributes
    • Contract guide
      • AccountBalance
      • BaseToken
      • ClearingHouse
      • CollateralManager
      • DelegateApproval
      • Exchange
      • InsuranceFund
      • MarketRegistry
      • OrderBook
      • QuoteToken
      • Vault
      • VirtualToken
    • Interface Contracts
      • IAccountBalance
      • IBaseToken
      • IClearingHouse
      • IClearingHouseConfig
      • IClearingHouseConfigEvent
      • ICollateralManager
      • IDelegateApproval
      • IERC20Metadata
      • IExchange
      • IIndexPrice
      • IInsuranceFund
      • IMarketRegistry
      • IOrderBook
      • IVault
      • IVirtualToken
    • Integration guide
    • Dev tools
Powered by GitBook
On this page

Was this helpful?

  1. Developer Docs
  2. Interface Contracts

IVault

Last updated 1 year ago

Was this helpful?

  event ClearingHouseChanged(
    address clearingHouse
  )

Emitted when clearingHouse is changed

Parameters:

Name
Type
Description

clearingHouse

address

The address of clearingHouse

CollateralManagerChanged

  event CollateralManagerChanged(
    address collateralManager
  )

Emitted when collateralManager is changed

Parameters:

Name
Type
Description

collateralManager

address

The address of collateralManager

WETH9Changed

  event WETH9Changed(
    address WETH9
  )

Emitted when WETH9 is changed

Name
Type
Description

WETH9

address

The address of WETH9

  event BadDebtSettled(
    address trader,
    uint256 amount
  )

Emitted when bad debt realized and settled

Name
Type
Description

trader

address

Address of the trader

amount

uint256

Absolute amount of bad debt

Parameters:

BadDebtSettled

Parameters:

​
​
​
​
​
​
​