AllProvidedReferenceScripts

scalus.cardano.ledger.utils.AllProvidedReferenceScripts

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Returns the reference scripts of the union of the inputs and the reference inputs of a transaction, duplicates kept, as getReferenceScriptsNonDistinct in cardano-ledger.

Returns the reference scripts of the union of the inputs and the reference inputs of a transaction, duplicates kept, as getReferenceScriptsNonDistinct in cardano-ledger.

A script carried by two UTxOs occurs twice, and a UTxO that is both spent and referenced occurs once. The min fee measures this sequence, as txNonDistinctRefScriptsSize does.

Value parameters

transaction

the transaction to analyze

utxos

the UTxO set containing the referenced outputs

Attributes

Returns

Either a BadInputsUTxOException or BadReferenceInputsUTxOException if any input is missing from the UTxO set, or a sequence containing all reference scripts (with duplicates preserved)