signedBy

fun signedBy(address: PayAddress): Boolean?

Check whether an address signed this token description document

Return

true if the passed address signed this token description document, false if it did not, and null if that is not determinable. Since the document is signed with a pubkey, a pubkey must be extractable from the address or be the sole parameter of the hidden args. P2PKT and P2PKH both work. Other template contracts will work, if the hidden args contains only the pubkey.