You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minimum vAMM commitment amount in quantum; this works as spam protection and if it was to be increased existing vAMMs stay, new ones have to meet the new minimum.
Clearly there will be an upper limit on how many vAMMs we can support in a performant manner (even if the upper bound is high). Several options seem available:
update the behaviour of the minimum to also remove those vAMM commitments that don't meet the new, increased minimum quantum. The danger is that cancelling parties' commitments isn't especially nice.
add a network wide parameter setting the maximum number of vAMMs allowed. This one maps the most cleanly to whatever performance impact large number of vAMMs may have
add a per market parameter maximum number of vAMMs allowed; advantage of having capability to add new markets with passive liquidity, disadvantage is that this number will either be low, limiting popular markets, or high but then it may not provide the required control of perf impact.
a network parameter setting (minPerMarket, maxTotal) interpreted as: if a party submits vAMM and the total across the network is below maxTotal it goes through. If the total across network is above maxTotal we check which market it goes to, if that market has fewer than minPerMarket then it goes through. Otherwise reject.
The text was updated successfully, but these errors were encountered:
Question: do we still need this since the "number of empty ticks between bounds in vAMM commitment" restricts the smallest size anyway and we're proposing to control this: #2358
At the moment we have:
Clearly there will be an upper limit on how many vAMMs we can support in a performant manner (even if the upper bound is high). Several options seem available:
update the behaviour of the minimum to also remove those vAMM commitments that don't meet the new, increased minimum quantum. The danger is that cancelling parties' commitments isn't especially nice.
add a network wide parameter setting the maximum number of vAMMs allowed. This one maps the most cleanly to whatever performance impact large number of vAMMs may have
add a per market parameter maximum number of vAMMs allowed; advantage of having capability to add new markets with passive liquidity, disadvantage is that this number will either be low, limiting popular markets, or high but then it may not provide the required control of perf impact.
a network parameter setting
(minPerMarket, maxTotal)
interpreted as: if a party submits vAMM and the total across the network is belowmaxTotal
it goes through. If the total across network is abovemaxTotal
we check which market it goes to, if that market has fewer thanminPerMarket
then it goes through. Otherwise reject.The text was updated successfully, but these errors were encountered: