Package

org.ergoplatform.sdk.wallet.protocol

context

Permalink

package context

Visibility
  1. Public
  2. All

Type Members

  1. case class BlockchainStateContext(sigmaLastHeaders: Coll[Header], previousStateDigest: Coll[Byte], sigmaPreHeader: PreHeader) extends Product with Serializable

    Permalink

    Blockchain context used in tx signing.

    Blockchain context used in tx signing.

    sigmaLastHeaders

    fixed number (10 in Ergo) of last block headers

    previousStateDigest

    UTXO set digest from a last header (of sigmaLastHeaders)

    sigmaPreHeader

    returns pre-header (header without certain fields) of the current block

  2. case class TransactionContext(boxesToSpend: IndexedSeq[ErgoBox], dataBoxes: IndexedSeq[ErgoBox], spendingTransaction: ErgoLikeTransactionTemplate[_ <: UnsignedInput]) extends Product with Serializable

    Permalink

    Part of the execution context in regards with spending transaction

    Part of the execution context in regards with spending transaction

    boxesToSpend

    - inputs of the transaction

    dataBoxes

    - data (read-only) inputs of the transaction

    spendingTransaction

    - spending transaction

Ungrouped