Contract preset
[blockchain/ethereum/contracts/Contract preset]

Stores data describing a contract like the standard store node, but its data port is strictly typed. It describes a contract template source and the parameters to rename, compile and deploy it.
Input ports
data:
{ "contract template": string, "name to replace": string, "compile settings": { "includeRoots": string[], "solidityVersion": string, "compileOptions": { optional "evmVersion": string, "optimizer": {"enabled": boolean, "runs": number} } }, "deploy settings": {"gas": number, optional "gasPrice": number} }
Receives contents of the store. Can be set as parameter, or received as signal.
read:
any
Receives a signal that triggers the contents being sent via
data
(output), ornot found
when has no content.
Output ports
data:
{ "contract template": string, "name to replace": string, "compile settings": { "includeRoots": string[], "solidityVersion": string, "compileOptions": { optional "evmVersion": string, "optimizer": {"enabled": boolean, "runs": number} } }, "deploy settings": {"gas": number, optional "gasPrice": number} }
Sends store contents.
written:
null
Sends signal when contents were set in flow.
not found:
null
Sends signal on read attempt while store has no content.
Last updated