Skip to content

Commit

Permalink
CIP-0068: Small change in 333 FT sub standard (#359)
Browse files Browse the repository at this point in the history
* Changed decimals from big_int to int; changed logo from PNG bytestring to URI in 333 standard

* style fix

* added long_bytes; updated explanation; restricted logo to only certain media types

* added missing comma

* revert to bounded_bytes only
  • Loading branch information
alessandrokonrad authored Oct 25, 2022
1 parent 4c3c4c3 commit 9abe8a7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions CIP-0068/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,16 @@ metadata =
description : bounded_bytes, ; UTF-8
? ticker: bounded_bytes, ; UTF-8
? url: bounded_bytes, ; UTF-8
? logo: bounded_bytes, ; UTF-8
? decimals: big_int
? logo: uri,
? decimals: int
}
; A URI as a UTF-8 encoded bytestring.
; The URI scheme must be one of `https`, `ipfs` or `data`
; Do not encode plain file payloads as URI.
; 'logo' does not follow the explanation of the token-registry, it needs to be a valid URI and not a plain bytestring.
; Only use the following media types: `image/png`, `image/jpeg`, `image/svg+xml`
uri = bounded_bytes
datum = #6.121([metadata, 1]) ; version 1
```
Expand Down

0 comments on commit 9abe8a7

Please sign in to comment.