ILV model - Stable

Anthony Pecorella
Preview of ILV model - StablePreview of ILV model - Stable

About this model

This diagram models a blockchain-based trading and liquidity pool system, focusing on the exchange between Ethereum (ETH) and a token (referred to as ILV in the diagram, presumably a fictional cryptocurrency or utility token). In this system, there are pools designated for ETH and ILV tokens, signifying the holdings or liquidity available for each currency. The dynamic interaction between these pools is orchestrated through various operations such as transfers, conversions, and the computation of prices.

The diagram includes mechanisms for calculating the price of ILV tokens relative to ETH, simulating transactions between pools to reflect trading activities (transferring ETH for ILV and vice versa), and adjusting token quantities based on these interactions. Resource connections facilitate the flow of tokens between pools, while state connections modify the diagram's state, impacting elements like conversion rates and quantities based on predefined formulas. Registers compute the price of ILV in terms of ETH (and potentially other variables like transaction costs), presenting a simplified model of a decentralized finance (DeFi) platform where users can stake, trade, and manage cryptocurrencies within a liquidity pool. The inclusion of a drain signifies the removal or consumption of resources, possibly representing transaction fees, token burning mechanisms, or withdrawal of liquidity.

This public Machinations diagram, “ILV model - Stable”, was shared in the Machinations Community by Anthony Pecorella.

You can open the original diagram in the Machinations app, press Play to watch how resources move through it, and change its values to see how the system responds. Machinations is a visual tool for designing, simulating and balancing game economies and other systems, where resources flow through sources, pools, drains, converters and gates. In a diagram, a source creates resources, a pool stores them, a drain removes them, a converter changes one resource into another and a gate decides where they go next.