Dai 1.0

Introduction - Stability - Core - CLI - Query API


Withdraw collateral by returning PETH to the vault in exchange for the proportional amount of ETH.

  • The amount should be specified in units of ETH.
  • PETH will be debited from the caller at the exit price (bid)

Will return more or less ETH tokens for each PETH than at join depending whether the system made a profit or loss over the lifetime of the collateral deposited to the pool.


  $ dai exit 10.0

  $ seth send "1383193339611678105810169541746055541819509028773" "exit(uint256)" "10.0"

  join(self, amount_in_gem: Wad) -> Transact: