Module

Ctl.Internal.Contract.Hooks

#Hooks

type Hooks = { beforeInit :: Maybe (Effect Unit), beforeSign :: Maybe (Effect Unit), onClusterStartup :: Maybe (ClusterParameters -> Effect Unit), onError :: Maybe (Error -> Effect Unit), onSubmit :: Maybe (Transaction -> Effect Unit), onSuccess :: Maybe (Effect Unit) }

#ClusterParameters

type ClusterParameters = { nodeConfigPath :: String, nodeSocketPath :: String, privateKeys :: Array PrivateKey, privateKeysDirectory :: String }

#emptyHooks

Modules