UNPKG

@berrywallet/core

Version:

Berrywallet main Core for work with common cryptocurrencies like Bitcoin, Ethereum, Dash, Litecoin

36 lines (35 loc) 1.45 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ScriptType; (function (ScriptType) { ScriptType["WitnessPubKeyHash"] = "witnesspubkeyhash"; ScriptType["WitnessScriptHash"] = "witnessscripthash"; ScriptType["PubKeyHash"] = "pubkeyhash"; ScriptType["ScriptHash"] = "scripthash"; ScriptType["Multisig"] = "multisig"; ScriptType["PubKey"] = "pubkey"; ScriptType["WitnessCommitment"] = "witnesscommitment"; ScriptType["NullData"] = "nulldata"; ScriptType["NonStandard"] = "nonstandard"; })(ScriptType = exports.ScriptType || (exports.ScriptType = {})); var BalanceScheme; (function (BalanceScheme) { BalanceScheme[BalanceScheme["UTXO"] = 0] = "UTXO"; BalanceScheme[BalanceScheme["ADDRESS_BALANCE"] = 1] = "ADDRESS_BALANCE"; })(BalanceScheme = exports.BalanceScheme || (exports.BalanceScheme = {})); var TransactionScheme; (function (TransactionScheme) { TransactionScheme[TransactionScheme["INPUTS_OUTPUTS"] = 0] = "INPUTS_OUTPUTS"; TransactionScheme[TransactionScheme["FROM_TO"] = 1] = "FROM_TO"; })(TransactionScheme = exports.TransactionScheme || (exports.TransactionScheme = {})); var Unit; (function (Unit) { Unit["BTC"] = "BTC"; Unit["LTC"] = "LTC"; Unit["ETH"] = "ETH"; Unit["DASH"] = "DASH"; Unit["BTCt"] = "BTCt"; Unit["LTCt"] = "LTCt"; Unit["ETHt"] = "ETHt"; Unit["DASHt"] = "DASHt"; })(Unit = exports.Unit || (exports.Unit = {}));