Skip to content

Commit

Permalink
Added withdrawn auction nft check to match position nft checks
Browse files Browse the repository at this point in the history
  • Loading branch information
masonyonkers committed Aug 21, 2024
1 parent 87adc8d commit 0811b0a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/core/asset/src/asset/denom_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,10 @@ impl Metadata {
self.starts_with("auctionnft_")
}

pub fn is_withdrawn_auction_nft(&self) -> bool {
self.starts_with("auctionnft_2")
}

pub fn is_opened_position_nft(&self) -> bool {
let prefix = "lpnft_opened_".to_string();

Expand Down

0 comments on commit 0811b0a

Please sign in to comment.