Packages

package boxes

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class BoxCertainty extends AnyRef
  2. trait BoxSelector extends AnyRef

    An interface which is exposing a method to select unspent boxes according to target amounts in Ergo tokens and assets and possible user-defined filter.

    An interface which is exposing a method to select unspent boxes according to target amounts in Ergo tokens and assets and possible user-defined filter. The interface could have many instantiations implementing different strategies.

  3. sealed abstract class ChainStatus extends AnyRef
  4. sealed abstract class SpendingStatus extends AnyRef
  5. final case class TrackedBox(creationTxId: ModifierId, creationOutIndex: Short, inclusionHeightOpt: Option[Int], spendingTxIdOpt: Option[ModifierId], spendingHeightOpt: Option[Int], box: ErgoBox, certainty: BoxCertainty) extends Product with Serializable

    A box tracked by a wallet that contains Ergo box itself as well as its state (e.g.

    A box tracked by a wallet that contains Ergo box itself as well as its state (e.g. spent or not, confirmed or not etc).

    creationTxId

    - Id of transaction created the box

    creationOutIndex

    - Output index in the creation transaction

    inclusionHeightOpt

    - Height the transaction was included into blockchain

    spendingTxIdOpt

    - Id of transaction which spends the box if exists and known

    spendingHeightOpt

    - Height of the spending transaction block in blockchain if known

    box

    - Underlying Ergo box

    certainty

    - Whether the box is definitely belongs to the user or not

Value Members

  1. object BoxCertainty
  2. object BoxSelector
  3. object ChainStatus
  4. object DefaultBoxSelector extends BoxSelector

    Default implementation of the box selector.

    Default implementation of the box selector. It simply picks boxes till sum of their monetary values meets target Ergo balance, then it checks which assets are not fulfilled and adds boxes till target asset values are met.

  5. object ErgoBoxSerializer extends ErgoWalletSerializer[ErgoBox]
  6. object SpendingStatus
  7. object TrackedBox extends Serializable
  8. object TrackedBoxSerializer extends ErgoWalletSerializer[TrackedBox]

Ungrouped