Skip to content

Commit

Permalink
query: sbt_classes and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Jul 26, 2023
1 parent 66c794f commit fe352b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions neps/nep-0393.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,10 @@ trait SBTRegistry {
/// If token ID is not found `None` is set in the specific return index.
fn sbts(&self, issuer: AccountId, token: Vec<TokenId>) -> Vec<Option<Token>>;

/// Query class ID for each token ID issued by the SBT `issuer`.
/// If token ID is not found, `None` is set in the specific return index.
fn sbt_classes(&self, issuer: AccountId, tokens: Vec<TokenId>) -> Vec<Option<ClassId>>;

/// Returns total amount of tokens issued by `issuer` SBT contract, including expired
/// tokens. If a revoke removes a token, it must not be included in the supply.
fn sbt_supply(&self, issuer: AccountId) -> u64;
Expand Down

0 comments on commit fe352b8

Please sign in to comment.