Funding Mechanism


Below are the equations used for the Party-with-tokens proposal. As a brief summary, every party member will be minted an ERC20 token whenever they join the party or deposit more funds to the party. That token represents the member’s share of the party’s pool and their membership. Whenever members wants to withdraw their funds, these tokens will be burned. This scenario assumes that every deposit in DA gets correctly distributed according to the pool asset distribution. Quotes are retrieved from 0x in order to proceed with the swaps on every deposit/withdraw.


Party Tokens

The purpose of this formula is to calculate how many tokens should be minted for new deposits on the deposits party member. Since, value of different assets inside the party are constantly changing, the desire approach is to take a snapshot in time for the current party’s fund value in the Denominated Asset (DA from now on) as necessary to get the number of tokens that the user should get.


In practice, we need to find the exact MPT value. The rest of the variables are already known. Having said that, we can change the formula to the following:

The total quantity of tokens to be minted (MPT) is equal to the current supply of tokens multiplied by the ratio between the coming flow in DA (IDA) by the total party value in DA (P VDA). Keep in mind that Tsupply should be greater than zero for this current solution. When the party gets created, initial token supply is zero. Therefore;

The following document details an example of how this would work in practice

Last updated