We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The external dispatchable calls. i.e. The methods user can invoke by sending a transaction
Auctions pallet. Should extend NFT Core Should implement offchain worker to monitor auctions end time to conclude auction
Defines how to access on-chain storage
Stores on-going and future auctions. Closed auction are removed.
pub type Auctions<T: Config> = StorageMap<_, Twox64Concat, T::AuctionId, AuctionInfoOf<T>, OptionQuery>;
Index auctions by end time.
pub type AuctionEndTime<T: Config> = StorageDoubleMap<_, Twox64Concat, T::BlockNumber, Twox64Concat, T::AuctionId, (), OptionQuery>;
Auction owner by ID
type AuctionOwnerById<T: Config> = StorageMap<_, Twox64Concat, T::AuctionId, T::AccountId, ValueQuery>;
Defines the events that could be emitted by this pallet to indicate what happened
pub enum Event<T: Config> { /// Auction created AuctionCreated(T::AccountId, T::AuctionId), /// A bid is placed Bid(T::AuctionId, T::AccountId, BalanceOf<T>), /// Auction ended AuctionConcluded(T::AuctionId), /// Auction removed AuctionRemoved(T::AuctionId), }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Calls
Auctions pallet. Should extend NFT Core
Should implement offchain worker to monitor auctions end time to conclude auction
Storages
Auctions
Stores on-going and future auctions. Closed auction are removed.
AuctionEndTime
Index auctions by end time.
AuctionOwnerById
Auction owner by ID
Types
Events
The text was updated successfully, but these errors were encountered: