Skip to main content

deploy.scriptdeploymentcache

Home > @blaze-cardano/deploy > ScriptDeploymentCache

ScriptDeploymentCache interface

Storage interface for script deployment cache records.

Signature:

export interface ScriptDeploymentCache 

Methods

Method

Description

findByName(name)

Find the active record for a target name.

findByScriptHash(scriptHash)

Find a record by script hash.

put(record)

Store or replace one cache record.

records()

Return all cache records.

remove(name)

Remove all cache records with a target name.

snapshot(manifestHash)

Serialize the cache for persistence.