decodeTokenDescDoc

Decode a token description document JSON file into a TokenDesc structure, the hash of the proper part of the TDD, and its signature bytes. check the signature and fill TokenDesc pubkey with the resulting pubkey if an address is provided, and the signature matches that address.


fun decodeTokenDescDoc(grpId: GroupId, s: String, tokenGenesisTx: iTransaction): TokenDesc