Axis-Fi / axis-core

Axis Protocol
https://axis.finance
Other
3 stars 0 forks source link

Modify EMP.minBidSize to be in terms of quote token #161

Closed 0xJem closed 2 months ago

0xJem commented 2 months ago

Currently, EMP.AuctionData.minBidSize is an absolute number in terms of the base token, which is used in the following:

The suggestion is to change minBidSize to be in terms of the quote token. This would involve the following changes:

As a result of this, there will be no filtering on the amount out (base token). Are ok with that?

0xJem commented 2 months ago

@Oighty for review

Oighty commented 2 months ago

The goal of minBidSize is to enforce a maximum number of bids that can be settled. I'm realizing that doing it in quote tokens removes the effectiveness of this in certain cases. I'm going to discuss with tex, and I'll get back to you on the path forward.

0xJem commented 2 months ago

What was the decision on this?

Oighty commented 2 months ago

I need to look at adding iterative settlement alongside this. I wanted to get the new testnet deploys done first

0xJem commented 2 months ago
  1. % of capacity at the minimum price vs
  2. raw quote token value

2 seems more intuitive