factory ReceiptMint.fromJson(Map<String, dynamic> data) { return ReceiptMint( subId: addHexPrefix(data['subId']), contractId: addHexPrefix(data['contractId'])); }