scalus.bloxbean
package scalus.bloxbean
Members list
Type members
Classlikes
class CachedEpochParamsSupplier(cachePath: Path, default: EpochService) extends EpochService
Attributes
- Supertypes
-
trait EpochServiceclass Objecttrait Matchableclass Any
class CachedUtxoSupplier(cachePath: Path, default: UtxoSupplier) extends UtxoSupplier
Attributes
- Supertypes
-
trait UtxoSupplierclass Objecttrait Matchableclass Any
class FileScriptSupplier(scriptsDirectory: Path, scriptSupplier: ScriptSupplier) extends ScriptSupplier
Attributes
- Supertypes
class InMemoryCachedScriptSupplier(scriptSupplier: ScriptSupplier, initialCache: Map[String, PlutusScript] = ...) extends ScriptSupplier
Attributes
- Supertypes
object Interop
Interoperability between Cardano Client Lib and Scalus
Interoperability between Cardano Client Lib and Scalus
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Interop.type
class MapScriptSupplier(scripts: Map[String, PlutusScript]) extends ScriptSupplier
Attributes
- Supertypes
class NoScriptSupplier extends ScriptSupplier
Attributes
- Supertypes
class ScalusTransactionEvaluator(val slotConfig: SlotConfig, val protocolParams: ProtocolParams, val utxoSupplier: UtxoSupplier, val scriptSupplier: ScriptSupplier, val mode: EvaluatorMode, val debugDumpFilesForTesting: Boolean = ...) extends TransactionEvaluator
Implements com.bloxbean.cardano.client.api.TransactionEvaluator to evaluate a transaction to get script costs using Scalus evaluator. This is a wrapper around scalus.bloxbean.TxEvaluator.
Implements com.bloxbean.cardano.client.api.TransactionEvaluator to evaluate a transaction to get script costs using Scalus evaluator. This is a wrapper around scalus.bloxbean.TxEvaluator.
Value parameters
- mode
-
Evaluator mode.
- scalus.bloxbean.EvaluatorMode.EVALUATE_AND_COMPUTE_COST will evaluate the transaction and compute the cost
- scalus.bloxbean.EvaluatorMode.VALIDATE will validate the transaction and fail if execution budget exceeds
- protocolParams
-
Protocol parameters
- scriptSupplier
-
Additional script supplier
- slotConfig
-
Slot configuration
- utxoSupplier
-
Utxo supplier
Attributes
- Supertypes
-
trait TransactionEvaluatorclass Objecttrait Matchableclass Any
class ScriptServiceSupplier(scriptService: ScriptService) extends ScriptSupplier
Attributes
- Supertypes
trait ScriptSupplier
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
class TxEvaluationException(message: String, cause: Throwable, val logs: Array[String], val scriptContext: List[ScriptContext]) extends Exception
Attributes
- Supertypes
-
class Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
class TxEvaluator(val slotConfig: SlotConfig, val initialBudget: ExUnits, val protocolMajorVersion: Int, val costMdls: CostMdls, val mode: EvaluatorMode = ..., val debugDumpFilesForTesting: Boolean = ...)
Evaluate script costs for a transaction using two phase eval.
Evaluate script costs for a transaction using two phase eval.
Attributes
- Note
-
This is experimental API and subject to change
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object TxEvaluator
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TxEvaluator.type
object given_Ordering_Redeemer extends Ordering[Redeemer]
Attributes
- Supertypes
-
trait Ordering[Redeemer]trait PartialOrdering[Redeemer]trait Equiv[Redeemer]trait Serializabletrait Comparator[Redeemer]class Objecttrait Matchableclass AnyShow all
- Self type
object given_Ordering_TransactionInput extends Ordering[TransactionInput]
Attributes
- Supertypes
-
trait Ordering[TransactionInput]trait PartialOrdering[TransactionInput]trait Equiv[TransactionInput]trait Serializabletrait Comparator[TransactionInput]class Objecttrait Matchableclass AnyShow all
- Self type
Deprecated types
Attributes
- Deprecated
-
[Since version v0.12.0]Use scalus.cardano.ledger.SlotConfig instead
Value members
Deprecated fields
Attributes
- Deprecated
-
[Since version v0.12.0]Use scalus.cardano.ledger.SlotConfig instead
Givens
Givens
In this article