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.