Skip to content

Instantly share code, notes, and snippets.

@desaperados
Last active June 4, 2019 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save desaperados/2abee29615f69137b3c66ab52321cc99 to your computer and use it in GitHub Desktop.
Save desaperados/2abee29615f69137b3c66ab52321cc99 to your computer and use it in GitHub Desktop.

MCD Actions

Cat - Liquidator

  • Bite - Trigger liquidation of an unsafe Cdp (vat.grab)

Jug - Stability fees

  • Drip - Trigger stability fee accumulation (vat.fold)

Join - Token adapters

  • Join - Deposit tokens to the system
  • Exit - Remove tokens from the system

Pause - System governance

  • Plot - Schedule a plan
  • Exec - Execute a plan
  • Drop - Cancel a plan

Vat - User balances

  • Frob - Cdp Management
  • Fork - Transfer Cdp balances
  • Grab - Seize Cdp balances
  • Heal - Balance system surplus/defecit
  • Suck - Print Dai
  • Fold - Apply rates across an Ilk

Vow - Liquidations manager

  • Fess - Push bad debt to the auctions queue
  • Flog - Release queued debt for auction
  • Heal - Optimise debt buffer (vat.heal)
  • Kiss - Release on-auction debt and Heal (vat.heal)
  • Flap - Trigger a surplus auction (flapper.kick)
  • Flop - Trigger a defecit auction (flopper.kick)

Dai - Token

  • Mint - Mint to an address
  • Burn - Burn at an address
  • Push - Transfer
  • Pull - Transfer From
  • Move - Transfer From
  • Approve - Allow pulls and moves
  • Permit - Approve by signature

Spotter - Price relayer

  • Poke - Update the spot price for a given Ilk (vat.file)

Pot - Dai savings

  • Drip - Trigger savings accumulation (vat.suck)

Flapper - Surplus auctions

  • Kick - Put up a new DAI lot for auction
  • Tend - Submit an MKR bid (increasing bid)
  • Deal - Settle a completed auction

Flopper - Defecit auctions

  • Kick - Put up a new MKR bid for auction
  • Dent - Submit a DAI bid (decreasing lot)
  • Deal - Settle a completed auction

Flipper - Collateral auctions

  • Kick - Put up a new GEM lot for auction
  • Tick - Bump the end date for an auction with no bids
  • Tend - Submit a DAI bid (increasing bid)
  • Dent - Submit a DAI bid (decreasing lot)
  • Deal - Settle a completed auction

End - Global settlement

  • Cage - Freeze user-facing actions. Tag Ilk prices.
  • Skim - Settle a Cdp at the tagged price
  • Free - Remove collateral from a settled Cdp
  • Thaw - Fix outstanding Dai supply after all Skims
  • Flow - Calculate final Ilk prices
  • Pack - Lock Dai ahead of Cash
  • Cash - Exchange packed Dai for collateral
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment