From 66c794f08992a9fb64a73eb83e5c2fdd829e30e1 Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Mon, 24 Jul 2023 16:32:22 +0200 Subject: [PATCH] add sbts method --- neps/nep-0393.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neps/nep-0393.md b/neps/nep-0393.md index 3737db506..8960c01fc 100644 --- a/neps/nep-0393.md +++ b/neps/nep-0393.md @@ -291,6 +291,10 @@ trait SBTRegistry { /// Get the information about specific token ID issued by `issuer` SBT contract. fn sbt(&self, issuer: AccountId, token: TokenId) -> Option; + /// Get the information about list of token IDs issued by the `issuer` SBT contract. + /// If token ID is not found `None` is set in the specific return index. + fn sbts(&self, issuer: AccountId, token: Vec) -> Vec>; + /// 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;