Skip to content

Commit

Permalink
use Base64VecU8 type
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Sep 6, 2023
1 parent 2dde320 commit 4d0e590
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions neps/nep-0393.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,10 +401,13 @@ trait SBTRegistry {
fn sbt_revoke_by_owner(&mut self, owner: AccountId, burn: bool);

/// Allows issuer to update token metadata reference and reference_hash.
/// * `updates` is a list of triples: (token ID, reference, reference hash).
/// * `updates` is a list of triples: (token ID, reference, reference base64-encoded sha256 hash).
/// Must emit `token_reference` event.
/// Panics if any of the token Ids don't exists.
fn sbt_update_token_references(&mut self, updates: Vec<(TokenId, String, String)>);
fn sbt_update_token_references(
&mut self,
updates: Vec<(TokenId, Option<String>, Option<Base64VecU8>)>,
);
}
```

Expand Down

0 comments on commit 4d0e590

Please sign in to comment.