Satscard constructor

Satscard(
  1. SatscardConstructorParams params
)

Used to construct a Satscard from native data

Implementation

Satscard(SatscardConstructorParams params)
    : activeSlotIndex = params.activeSlotIndex,
      numSlots = params.numSlots,
      hasUnusedSlots = params.hasUnusedSlots > 0,
      isUsedUp = params.isUsedUp > 0,
      super(params.base);