OptimizedPreimageValidator

scalus.examples.OptimizedPreimageValidator

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def preimageValidator(datum: Data, redeemer: Data, ctxData: Data): Unit

Validates that the preimage is correct for the given hash and public key hash. The public key hash must be a signatory of the transaction.

Validates that the preimage is correct for the given hash and public key hash. The public key hash must be a signatory of the transaction.

Attributes