status property

TagGoldTxn get status

Implementation

TagGoldTxn get status {
  if (isFilled) return TagGoldTxn.filled;
  if (tags.contains(TagGoldTxn.failed.number)) return TagGoldTxn.failed;
  if (tags.contains(TagGoldTxn.cancelled.number)) return TagGoldTxn.cancelled;
  return TagGoldTxn.pending;
}