ThreeArgumentPlutusScriptWitness

scalus.cardano.txbuilder.ThreeArgumentPlutusScriptWitness
See theThreeArgumentPlutusScriptWitness companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(scriptSource: ScriptSource[PlutusScript], redeemer: Data, datum: Datum, additionalSigners: Set[ExpectedSigner]): ThreeArgumentPlutusScriptWitness
def attached[T : ToData](script: PlutusScript, redeemer: T, datum: Datum, signers: Set[AddrKeyHash] = ...): ThreeArgumentPlutusScriptWitness

Creates a witness for an attached Plutus script with immediate redeemer.

Creates a witness for an attached Plutus script with immediate redeemer.

The script will be included in the transaction witness set.

Value parameters

datum

the datum specification (inline or value)

redeemer

the redeemer data

script

the Plutus script to attach

signers

additional signers required by the script

Attributes

def attached(script: PlutusScript, redeemerBuilder: Transaction => Data, datum: Datum, signers: Set[AddrKeyHash]): ThreeArgumentPlutusScriptWitness

Creates a witness for an attached Plutus script with delayed redeemer.

Creates a witness for an attached Plutus script with delayed redeemer.

The script will be included in the transaction witness set. The redeemer will be computed from the final transaction.

Value parameters

datum

the datum specification (inline or value)

redeemerBuilder

function to compute redeemer from the built transaction

script

the Plutus script to attach

signers

additional signers required by the script

Attributes

def reference[T : ToData](redeemer: T, datum: Datum, signers: Set[AddrKeyHash] = ...): ThreeArgumentPlutusScriptWitness

Creates a witness for a reference Plutus script with immediate redeemer.

Creates a witness for a reference Plutus script with immediate redeemer.

The script must be provided via a reference input (using references method).

Value parameters

datum

the datum specification (inline or value)

redeemer

the redeemer data

signers

additional signers required by the script

Attributes

def reference(redeemerBuilder: Transaction => Data, datum: Datum, signers: Set[AddrKeyHash]): ThreeArgumentPlutusScriptWitness

Creates a witness for a reference Plutus script with delayed redeemer.

Creates a witness for a reference Plutus script with delayed redeemer.

The script must be provided via a reference input (using references method). The redeemer will be computed from the final transaction.

Value parameters

datum

the datum specification (inline or value)

redeemerBuilder

function to compute redeemer from the built transaction

signers

additional signers required by the script

Attributes