UNPKG

caravan-x

Version:

A terminal-based utility for managing Caravan multisig wallets in regtest mode. This tool simplifies development and testing with Caravan by providing an easy-to-use interface

39 lines (38 loc) 1.48 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ActionType = exports.ScriptType = exports.ScriptExecutionStatus = void 0; /** * Status of a script execution */ var ScriptExecutionStatus; (function (ScriptExecutionStatus) { ScriptExecutionStatus["NOT_STARTED"] = "not_started"; ScriptExecutionStatus["RUNNING"] = "running"; ScriptExecutionStatus["COMPLETED"] = "completed"; ScriptExecutionStatus["FAILED"] = "failed"; ScriptExecutionStatus["ABORTED"] = "aborted"; })(ScriptExecutionStatus || (exports.ScriptExecutionStatus = ScriptExecutionStatus = {})); /** * Type of script (format) */ var ScriptType; (function (ScriptType) { ScriptType["JAVASCRIPT"] = "javascript"; ScriptType["JSON"] = "json"; })(ScriptType || (exports.ScriptType = ScriptType = {})); /** * Action type for declarative scripts */ var ActionType; (function (ActionType) { ActionType["CREATE_WALLET"] = "create_wallet"; ActionType["MINE_BLOCKS"] = "mine_blocks"; ActionType["CREATE_TRANSACTION"] = "create_transaction"; ActionType["REPLACE_TRANSACTION"] = "replace_transaction"; ActionType["SIGN_TRANSACTION"] = "sign_transaction"; ActionType["BROADCAST_TRANSACTION"] = "broadcast_transaction"; ActionType["CREATE_MULTISIG"] = "create_multisig"; ActionType["WAIT"] = "wait"; ActionType["ASSERT"] = "assert"; ActionType["CUSTOM"] = "custom"; })(ActionType || (exports.ActionType = ActionType = {}));