package tezos-protocol-019-PtParisB

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Get the address of the Constant-Product Market Maker receiving the Liquidity Baking subsidy

on_subsidy_allowed ctxt ~per_block_vote f updates the toggle EMA according to toggle_vote. Then the callback function f is called if the following conditions are met:

  • the updated EMA is below the threshold,
  • the CPMM contract exists.

The role of the callback function f is to send the subsidy to the CPMM, see apply_liquidity_baking_subsidy in apply.ml.

OCaml

Innovation. Community. Security.