#auction #orml #substrate #orml-auction

no-std orml-auction

Auction module that implements Auction trait

23 releases (5 stable)

new 1.4.0 Apr 28, 2025
1.3.0 Feb 9, 2025
1.2.1 Jan 14, 2025
1.1.0 Dec 10, 2024
0.1.1 Jun 5, 2020

#8 in #auction

Download history 2/week @ 2025-01-06 110/week @ 2025-01-13 11/week @ 2025-01-20 44/week @ 2025-02-03 61/week @ 2025-02-10 19/week @ 2025-02-17 1/week @ 2025-02-24 1/week @ 2025-03-03

1,339 downloads per month

Apache-2.0 and GPL-3.0-only

100KB
2K SLoC

Auction

Overview

This module provides a basic abstraction to implement on-chain auctioning feature.

The auction logic can be customized by implement and supplying AuctionHandler trait.


Auction module

Overview

Auction module provides a way to open auction and place bids on-chain. You can open an auction by specifying a start: BlockNumber and/or an end: BlockNumber, and when the auction becomes active enabling anyone to place a bid at a higher price. Trait AuctionHandler is been used to validate the bid and when the auction ends AuctionHandle::on_auction_ended(id, bid) gets called.

Dependencies

~23–37MB
~628K SLoC