scalus.bloxbean

package scalus.bloxbean

Members list

Type members

Classlikes

class CachedEpochParamsSupplier(cachePath: Path, default: EpochService) extends EpochService

Attributes

Supertypes
trait EpochService
class Object
trait Matchable
class Any
class CachedUtxoSupplier(cachePath: Path, default: UtxoSupplier) extends UtxoSupplier

Attributes

Supertypes
trait UtxoSupplier
class Object
trait Matchable
class Any
class FileScriptSupplier(scriptsDirectory: Path, scriptSupplier: ScriptSupplier) extends ScriptSupplier

Attributes

Supertypes
class Object
trait Matchable
class Any
class InMemoryCachedScriptSupplier(scriptSupplier: ScriptSupplier, initialCache: Map[String, PlutusScript] = ...) extends ScriptSupplier

Attributes

Supertypes
class Object
trait Matchable
class Any
object Interop

Interoperability between Cardano Client Lib and Scalus

Interoperability between Cardano Client Lib and Scalus

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Interop.type
class MapScriptSupplier(scripts: Map[String, PlutusScript]) extends ScriptSupplier

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
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 TransactionEvaluator
class Object
trait Matchable
class Any
class ScriptServiceSupplier(scriptService: ScriptService) extends ScriptSupplier

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class TxEvaluationException(message: String, cause: Throwable, val logs: Array[String], val scriptContext: List[ScriptContext]) extends Exception

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show 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 Object
trait Matchable
class Any
object TxEvaluator

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object given_Ordering_Redeemer extends Ordering[Redeemer]

Attributes

Supertypes
trait Ordering[Redeemer]
trait PartialOrdering[Redeemer]
trait Equiv[Redeemer]
trait Serializable
trait Comparator[Redeemer]
class Object
trait Matchable
class Any
Show all
Self type
object given_Ordering_TransactionInput extends Ordering[TransactionInput]

Attributes

Supertypes
trait Ordering[TransactionInput]
trait PartialOrdering[TransactionInput]
trait Equiv[TransactionInput]
trait Serializable
trait Comparator[TransactionInput]
class Object
trait Matchable
class Any
Show 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