Axis-Fi / axis-core

Axis Protocol
https://axis.finance
Other
6 stars 1 forks source link

Marginal Price Sealed Bid Auction Module - Local Submission, External Evaluation #24

Closed 0xJem closed 6 months ago

0xJem commented 8 months ago

Objective

Implement an Auction Module for Marginal Price Sealed Bid Auctions, utilising local/on-chain storage of bids and external settlement by a trusted party.

Auction Creation

Sellers will create auctions on this module by submitted a transaction to the AuctionHouse.auction with the Keycode for this type specified. Aside from the standard Routing and Auction Parameters, the following variables need to be provided:

Sealed Bids

Users will submit bids on-chain. Bids will remain sealed through the following mechanisms:

The quote tokens will be transferred at the time of bid submission.

Bid Cancellations

Prior to auction settlement, bids can be cancelled.

At the time of cancellation, the provided quote tokens will be refunded to the bidder.

Auction Settlement

Settlement will be performed off-chain by a trusted party and submitted on-chain. The following will be provided:

The settlement provider will be provided with the private key that enables decryption of the minimum amount out.

The exact settlement methodology is described in #19

Q: are partial fills supported?

The auction module will perform the following:

Auction Cancellation

If the auction is cancelled prior to settlement, the provided quote tokens will be refunded to all bidders.

Refunds

Bidders that did not have winning bids can claim a refund (if they have not already done so).

Oighty commented 6 months ago

Closing for the same reason as #19