Implementation of a liquidity contract