blacklistrc 0.0.2

BRC: Blacklist Request for Comment
Documentation
1
2
3
4
5
6
7
8
9
use crate::brc006::{BRCToken, RoyaltyInfo};

pub fn validate_royalty_percentage(royalty: &RoyaltyInfo) -> bool {
    royalty.percentage <= 10000
}

pub fn is_owner(token: &BRCToken, pubkey: &str) -> bool {
    token.owner == pubkey
}