@lightninglabs/lnc-core
Advanced tools
Comparing version 0.3.0-alpha to 0.3.1-alpha
@@ -1,1 +0,1 @@ | ||
!function(E,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["@lightninglabs/lnc-core"]=e():E["@lightninglabs/lnc-core"]=e()}(this,(()=>(()=>{"use strict";var E={6877:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.faradayServer=E(N.serviceNames.frdrpc.FaradayServer,e)}},7382:function(E,e,_){var N=this&&this.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(e,"__esModule",{value:!0}),e.LitApi=e.TaprootAssetsApi=e.FaradayApi=e.PoolApi=e.LoopApi=e.LndApi=void 0;var t=_(3152);Object.defineProperty(e,"LndApi",{enumerable:!0,get:function(){return N(t).default}});var O=_(1343);Object.defineProperty(e,"LoopApi",{enumerable:!0,get:function(){return N(O).default}});var T=_(2146);Object.defineProperty(e,"PoolApi",{enumerable:!0,get:function(){return N(T).default}});var r=_(6877);Object.defineProperty(e,"FaradayApi",{enumerable:!0,get:function(){return N(r).default}});var A=_(3151);Object.defineProperty(e,"TaprootAssetsApi",{enumerable:!0,get:function(){return N(A).default}});var R=_(1929);Object.defineProperty(e,"LitApi",{enumerable:!0,get:function(){return N(R).default}})},1929:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.autopilot=E(N.serviceNames.litrpc.Autopilot,e),this.firewall=E(N.serviceNames.litrpc.Firewall,e),this.sessions=E(N.serviceNames.litrpc.Sessions,e),this.status=E(N.serviceNames.litrpc.Status,e)}},3152:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.autopilot=E(N.serviceNames.autopilotrpc.Autopilot,e),this.chainNotifier=E(N.serviceNames.chainrpc.ChainNotifier,e),this.invoices=E(N.serviceNames.invoicesrpc.Invoices,e),this.lightning=E(N.serviceNames.lnrpc.Lightning,e),this.router=E(N.serviceNames.routerrpc.Router,e),this.signer=E(N.serviceNames.signrpc.Signer,e),this.walletKit=E(N.serviceNames.walletrpc.WalletKit,e),this.walletUnlocker=E(N.serviceNames.lnrpc.WalletUnlocker,e),this.watchtower=E(N.serviceNames.watchtowerrpc.Watchtower,e),this.watchtowerClient=E(N.serviceNames.wtclientrpc.WatchtowerClient,e)}},1343:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.swapClient=E(N.serviceNames.looprpc.SwapClient,e),this.debug=E(N.serviceNames.looprpc.Debug,e)}},2146:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.trader=E(N.serviceNames.poolrpc.Trader,e),this.channelAuctioneer=E(N.serviceNames.poolrpc.ChannelAuctioneer,e),this.hashmail=E(N.serviceNames.poolrpc.HashMail,e)}},3151:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.taprootAssets=E(N.serviceNames.taprpc.TaprootAssets,e),this.mint=E(N.serviceNames.mintrpc.Mint,e),this.assetWallet=E(N.serviceNames.assetwalletrpc.AssetWallet,e),this.universe=E(N.serviceNames.universerpc.Universe,e)}},8713:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),e.subscriptionMethods=e.TaprootAssetsApi=e.LitApi=e.FaradayApi=e.PoolApi=e.LoopApi=e.LndApi=e.snakeKeysToCamel=e.isObject=e.camelKeysToSnake=void 0,t(_(5894),e);var O=_(1848);Object.defineProperty(e,"camelKeysToSnake",{enumerable:!0,get:function(){return O.camelKeysToSnake}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return O.isObject}}),Object.defineProperty(e,"snakeKeysToCamel",{enumerable:!0,get:function(){return O.snakeKeysToCamel}});var T=_(7382);Object.defineProperty(e,"LndApi",{enumerable:!0,get:function(){return T.LndApi}}),Object.defineProperty(e,"LoopApi",{enumerable:!0,get:function(){return T.LoopApi}}),Object.defineProperty(e,"PoolApi",{enumerable:!0,get:function(){return T.PoolApi}}),Object.defineProperty(e,"FaradayApi",{enumerable:!0,get:function(){return T.FaradayApi}}),Object.defineProperty(e,"LitApi",{enumerable:!0,get:function(){return T.LitApi}}),Object.defineProperty(e,"TaprootAssetsApi",{enumerable:!0,get:function(){return T.TaprootAssetsApi}});var r=_(1644);Object.defineProperty(e,"subscriptionMethods",{enumerable:!0,get:function(){return r.subscriptionMethods}})},3241:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(9825),e)},5273:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(6726),e)},1071:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(5374),e)},2076:(E,e)=>{var _,N,t,O;Object.defineProperty(e,"__esModule",{value:!0}),e.CloseRecommendationRequest_Metric=e.EntryType=e.FiatBackend=e.Granularity=void 0,(O=e.Granularity||(e.Granularity={})).UNKNOWN_GRANULARITY="UNKNOWN_GRANULARITY",O.MINUTE="MINUTE",O.FIVE_MINUTES="FIVE_MINUTES",O.FIFTEEN_MINUTES="FIFTEEN_MINUTES",O.THIRTY_MINUTES="THIRTY_MINUTES",O.HOUR="HOUR",O.SIX_HOURS="SIX_HOURS",O.TWELVE_HOURS="TWELVE_HOURS",O.DAY="DAY",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.FiatBackend||(e.FiatBackend={})).UNKNOWN_FIATBACKEND="UNKNOWN_FIATBACKEND",t.COINCAP="COINCAP",t.COINDESK="COINDESK",t.CUSTOM="CUSTOM",t.COINGECKO="COINGECKO",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.EntryType||(e.EntryType={})).UNKNOWN="UNKNOWN",N.LOCAL_CHANNEL_OPEN="LOCAL_CHANNEL_OPEN",N.REMOTE_CHANNEL_OPEN="REMOTE_CHANNEL_OPEN",N.CHANNEL_OPEN_FEE="CHANNEL_OPEN_FEE",N.CHANNEL_CLOSE="CHANNEL_CLOSE",N.RECEIPT="RECEIPT",N.PAYMENT="PAYMENT",N.FEE="FEE",N.CIRCULAR_RECEIPT="CIRCULAR_RECEIPT",N.FORWARD="FORWARD",N.FORWARD_FEE="FORWARD_FEE",N.CIRCULAR_PAYMENT="CIRCULAR_PAYMENT",N.CIRCULAR_FEE="CIRCULAR_FEE",N.SWEEP="SWEEP",N.SWEEP_FEE="SWEEP_FEE",N.CHANNEL_CLOSE_FEE="CHANNEL_CLOSE_FEE",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.CloseRecommendationRequest_Metric||(e.CloseRecommendationRequest_Metric={})).UNKNOWN="UNKNOWN",_.UPTIME="UPTIME",_.REVENUE="REVENUE",_.INCOMING_VOLUME="INCOMING_VOLUME",_.OUTGOING_VOLUME="OUTGOING_VOLUME",_.TOTAL_VOLUME="TOTAL_VOLUME",_.UNRECOGNIZED="UNRECOGNIZED"},915:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(2076),e)},5894:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__setModuleDefault||(Object.create?function(E,e){Object.defineProperty(E,"default",{enumerable:!0,value:e})}:function(E,e){E.default=e}),O=this&&this.__importStar||function(E){if(E&&E.__esModule)return E;var e={};if(null!=E)for(var _ in E)"default"!==_&&Object.prototype.hasOwnProperty.call(E,_)&&N(e,E,_);return t(e,E),e};Object.defineProperty(e,"__esModule",{value:!0}),e.universerpc=e.taprpc=e.mintrpc=e.assetwalletrpc=e.poolrpc=e.looprpc=e.wtclientrpc=e.watchtowerrpc=e.walletrpc=e.signrpc=e.routerrpc=e.lnrpc=e.invoicesrpc=e.chainrpc=e.autopilotrpc=e.litrpc=e.frdrpc=void 0;var T=O(_(915));e.frdrpc=T;var r=O(_(5903));e.litrpc=r;var A=O(_(5273));e.autopilotrpc=A;var R=O(_(1071));e.chainrpc=R;var n=O(_(5312));e.invoicesrpc=n;var I=O(_(8452));e.lnrpc=I;var S=O(_(1226));e.routerrpc=S;var C=O(_(1207));e.signrpc=C;var i=O(_(9367));e.walletrpc=i;var o=O(_(6412));e.watchtowerrpc=o;var a=O(_(3946));e.wtclientrpc=a;var c=O(_(9011));e.looprpc=c;var D=O(_(3377));e.poolrpc=D;var U=O(_(3241));e.assetwalletrpc=U;var P=O(_(956));e.mintrpc=P;var L=O(_(4914));e.taprpc=L;var s=O(_(1877));e.universerpc=s},5312:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(6212),e)},481:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.ActionState=void 0,(_=e.ActionState||(e.ActionState={})).STATE_UNKNOWN="STATE_UNKNOWN",_.STATE_PENDING="STATE_PENDING",_.STATE_DONE="STATE_DONE",_.STATE_ERROR="STATE_ERROR",_.UNRECOGNIZED="UNRECOGNIZED"},6166:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},2199:(E,e)=>{var _,N;Object.defineProperty(e,"__esModule",{value:!0}),e.SessionState=e.SessionType=void 0,(N=e.SessionType||(e.SessionType={})).TYPE_MACAROON_READONLY="TYPE_MACAROON_READONLY",N.TYPE_MACAROON_ADMIN="TYPE_MACAROON_ADMIN",N.TYPE_MACAROON_CUSTOM="TYPE_MACAROON_CUSTOM",N.TYPE_UI_PASSWORD="TYPE_UI_PASSWORD",N.TYPE_AUTOPILOT="TYPE_AUTOPILOT",N.TYPE_MACAROON_ACCOUNT="TYPE_MACAROON_ACCOUNT",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.SessionState||(e.SessionState={})).STATE_CREATED="STATE_CREATED",_.STATE_IN_USE="STATE_IN_USE",_.STATE_REVOKED="STATE_REVOKED",_.STATE_EXPIRED="STATE_EXPIRED",_.UNRECOGNIZED="UNRECOGNIZED"},9815:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},5903:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(481),e),t(_(6166),e),t(_(2199),e),t(_(9815),e)},6726:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},5374:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},6212:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.LookupModifier=void 0,(_=e.LookupModifier||(e.LookupModifier={})).DEFAULT="DEFAULT",_.HTLC_SET_ONLY="HTLC_SET_ONLY",_.HTLC_SET_BLANK="HTLC_SET_BLANK",_.UNRECOGNIZED="UNRECOGNIZED"},9021:(E,e)=>{var _,N,t,O,T,r,A,R,n,I,S,C,i,o,a,c,D,U,P,L;Object.defineProperty(e,"__esModule",{value:!0}),e.Failure_FailureCode=e.HTLCAttempt_HTLCStatus=e.Payment_PaymentStatus=e.Invoice_InvoiceState=e.ChannelEventUpdate_UpdateType=e.PendingChannelsResponse_ForceClosedChannel_AnchorState=e.PeerEvent_EventType=e.Peer_SyncType=e.ChannelCloseSummary_ClosureType=e.UpdateFailure=e.FeatureBit=e.PaymentFailureReason=e.InvoiceHTLCState=e.NodeMetricType=e.ResolutionOutcome=e.ResolutionType=e.Initiator=e.CommitmentType=e.AddressType=e.OutputScriptType=void 0,(L=e.OutputScriptType||(e.OutputScriptType={})).SCRIPT_TYPE_PUBKEY_HASH="SCRIPT_TYPE_PUBKEY_HASH",L.SCRIPT_TYPE_SCRIPT_HASH="SCRIPT_TYPE_SCRIPT_HASH",L.SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH="SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH",L.SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH="SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH",L.SCRIPT_TYPE_PUBKEY="SCRIPT_TYPE_PUBKEY",L.SCRIPT_TYPE_MULTISIG="SCRIPT_TYPE_MULTISIG",L.SCRIPT_TYPE_NULLDATA="SCRIPT_TYPE_NULLDATA",L.SCRIPT_TYPE_NON_STANDARD="SCRIPT_TYPE_NON_STANDARD",L.SCRIPT_TYPE_WITNESS_UNKNOWN="SCRIPT_TYPE_WITNESS_UNKNOWN",L.SCRIPT_TYPE_WITNESS_V1_TAPROOT="SCRIPT_TYPE_WITNESS_V1_TAPROOT",L.UNRECOGNIZED="UNRECOGNIZED",(P=e.AddressType||(e.AddressType={})).WITNESS_PUBKEY_HASH="WITNESS_PUBKEY_HASH",P.NESTED_PUBKEY_HASH="NESTED_PUBKEY_HASH",P.UNUSED_WITNESS_PUBKEY_HASH="UNUSED_WITNESS_PUBKEY_HASH",P.UNUSED_NESTED_PUBKEY_HASH="UNUSED_NESTED_PUBKEY_HASH",P.TAPROOT_PUBKEY="TAPROOT_PUBKEY",P.UNUSED_TAPROOT_PUBKEY="UNUSED_TAPROOT_PUBKEY",P.UNRECOGNIZED="UNRECOGNIZED",(U=e.CommitmentType||(e.CommitmentType={})).UNKNOWN_COMMITMENT_TYPE="UNKNOWN_COMMITMENT_TYPE",U.LEGACY="LEGACY",U.STATIC_REMOTE_KEY="STATIC_REMOTE_KEY",U.ANCHORS="ANCHORS",U.SCRIPT_ENFORCED_LEASE="SCRIPT_ENFORCED_LEASE",U.SIMPLE_TAPROOT="SIMPLE_TAPROOT",U.UNRECOGNIZED="UNRECOGNIZED",(D=e.Initiator||(e.Initiator={})).INITIATOR_UNKNOWN="INITIATOR_UNKNOWN",D.INITIATOR_LOCAL="INITIATOR_LOCAL",D.INITIATOR_REMOTE="INITIATOR_REMOTE",D.INITIATOR_BOTH="INITIATOR_BOTH",D.UNRECOGNIZED="UNRECOGNIZED",(c=e.ResolutionType||(e.ResolutionType={})).TYPE_UNKNOWN="TYPE_UNKNOWN",c.ANCHOR="ANCHOR",c.INCOMING_HTLC="INCOMING_HTLC",c.OUTGOING_HTLC="OUTGOING_HTLC",c.COMMIT="COMMIT",c.UNRECOGNIZED="UNRECOGNIZED",(a=e.ResolutionOutcome||(e.ResolutionOutcome={})).OUTCOME_UNKNOWN="OUTCOME_UNKNOWN",a.CLAIMED="CLAIMED",a.UNCLAIMED="UNCLAIMED",a.ABANDONED="ABANDONED",a.FIRST_STAGE="FIRST_STAGE",a.TIMEOUT="TIMEOUT",a.UNRECOGNIZED="UNRECOGNIZED",(o=e.NodeMetricType||(e.NodeMetricType={})).UNKNOWN="UNKNOWN",o.BETWEENNESS_CENTRALITY="BETWEENNESS_CENTRALITY",o.UNRECOGNIZED="UNRECOGNIZED",(i=e.InvoiceHTLCState||(e.InvoiceHTLCState={})).ACCEPTED="ACCEPTED",i.SETTLED="SETTLED",i.CANCELED="CANCELED",i.UNRECOGNIZED="UNRECOGNIZED",(C=e.PaymentFailureReason||(e.PaymentFailureReason={})).FAILURE_REASON_NONE="FAILURE_REASON_NONE",C.FAILURE_REASON_TIMEOUT="FAILURE_REASON_TIMEOUT",C.FAILURE_REASON_NO_ROUTE="FAILURE_REASON_NO_ROUTE",C.FAILURE_REASON_ERROR="FAILURE_REASON_ERROR",C.FAILURE_REASON_INCORRECT_PAYMENT_DETAILS="FAILURE_REASON_INCORRECT_PAYMENT_DETAILS",C.FAILURE_REASON_INSUFFICIENT_BALANCE="FAILURE_REASON_INSUFFICIENT_BALANCE",C.UNRECOGNIZED="UNRECOGNIZED",(S=e.FeatureBit||(e.FeatureBit={})).DATALOSS_PROTECT_REQ="DATALOSS_PROTECT_REQ",S.DATALOSS_PROTECT_OPT="DATALOSS_PROTECT_OPT",S.INITIAL_ROUING_SYNC="INITIAL_ROUING_SYNC",S.UPFRONT_SHUTDOWN_SCRIPT_REQ="UPFRONT_SHUTDOWN_SCRIPT_REQ",S.UPFRONT_SHUTDOWN_SCRIPT_OPT="UPFRONT_SHUTDOWN_SCRIPT_OPT",S.GOSSIP_QUERIES_REQ="GOSSIP_QUERIES_REQ",S.GOSSIP_QUERIES_OPT="GOSSIP_QUERIES_OPT",S.TLV_ONION_REQ="TLV_ONION_REQ",S.TLV_ONION_OPT="TLV_ONION_OPT",S.EXT_GOSSIP_QUERIES_REQ="EXT_GOSSIP_QUERIES_REQ",S.EXT_GOSSIP_QUERIES_OPT="EXT_GOSSIP_QUERIES_OPT",S.STATIC_REMOTE_KEY_REQ="STATIC_REMOTE_KEY_REQ",S.STATIC_REMOTE_KEY_OPT="STATIC_REMOTE_KEY_OPT",S.PAYMENT_ADDR_REQ="PAYMENT_ADDR_REQ",S.PAYMENT_ADDR_OPT="PAYMENT_ADDR_OPT",S.MPP_REQ="MPP_REQ",S.MPP_OPT="MPP_OPT",S.WUMBO_CHANNELS_REQ="WUMBO_CHANNELS_REQ",S.WUMBO_CHANNELS_OPT="WUMBO_CHANNELS_OPT",S.ANCHORS_REQ="ANCHORS_REQ",S.ANCHORS_OPT="ANCHORS_OPT",S.ANCHORS_ZERO_FEE_HTLC_REQ="ANCHORS_ZERO_FEE_HTLC_REQ",S.ANCHORS_ZERO_FEE_HTLC_OPT="ANCHORS_ZERO_FEE_HTLC_OPT",S.AMP_REQ="AMP_REQ",S.AMP_OPT="AMP_OPT",S.UNRECOGNIZED="UNRECOGNIZED",(I=e.UpdateFailure||(e.UpdateFailure={})).UPDATE_FAILURE_UNKNOWN="UPDATE_FAILURE_UNKNOWN",I.UPDATE_FAILURE_PENDING="UPDATE_FAILURE_PENDING",I.UPDATE_FAILURE_NOT_FOUND="UPDATE_FAILURE_NOT_FOUND",I.UPDATE_FAILURE_INTERNAL_ERR="UPDATE_FAILURE_INTERNAL_ERR",I.UPDATE_FAILURE_INVALID_PARAMETER="UPDATE_FAILURE_INVALID_PARAMETER",I.UNRECOGNIZED="UNRECOGNIZED",(n=e.ChannelCloseSummary_ClosureType||(e.ChannelCloseSummary_ClosureType={})).COOPERATIVE_CLOSE="COOPERATIVE_CLOSE",n.LOCAL_FORCE_CLOSE="LOCAL_FORCE_CLOSE",n.REMOTE_FORCE_CLOSE="REMOTE_FORCE_CLOSE",n.BREACH_CLOSE="BREACH_CLOSE",n.FUNDING_CANCELED="FUNDING_CANCELED",n.ABANDONED="ABANDONED",n.UNRECOGNIZED="UNRECOGNIZED",(R=e.Peer_SyncType||(e.Peer_SyncType={})).UNKNOWN_SYNC="UNKNOWN_SYNC",R.ACTIVE_SYNC="ACTIVE_SYNC",R.PASSIVE_SYNC="PASSIVE_SYNC",R.PINNED_SYNC="PINNED_SYNC",R.UNRECOGNIZED="UNRECOGNIZED",(A=e.PeerEvent_EventType||(e.PeerEvent_EventType={})).PEER_ONLINE="PEER_ONLINE",A.PEER_OFFLINE="PEER_OFFLINE",A.UNRECOGNIZED="UNRECOGNIZED",(r=e.PendingChannelsResponse_ForceClosedChannel_AnchorState||(e.PendingChannelsResponse_ForceClosedChannel_AnchorState={})).LIMBO="LIMBO",r.RECOVERED="RECOVERED",r.LOST="LOST",r.UNRECOGNIZED="UNRECOGNIZED",(T=e.ChannelEventUpdate_UpdateType||(e.ChannelEventUpdate_UpdateType={})).OPEN_CHANNEL="OPEN_CHANNEL",T.CLOSED_CHANNEL="CLOSED_CHANNEL",T.ACTIVE_CHANNEL="ACTIVE_CHANNEL",T.INACTIVE_CHANNEL="INACTIVE_CHANNEL",T.PENDING_OPEN_CHANNEL="PENDING_OPEN_CHANNEL",T.FULLY_RESOLVED_CHANNEL="FULLY_RESOLVED_CHANNEL",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.Invoice_InvoiceState||(e.Invoice_InvoiceState={})).OPEN="OPEN",O.SETTLED="SETTLED",O.CANCELED="CANCELED",O.ACCEPTED="ACCEPTED",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.Payment_PaymentStatus||(e.Payment_PaymentStatus={})).UNKNOWN="UNKNOWN",t.IN_FLIGHT="IN_FLIGHT",t.SUCCEEDED="SUCCEEDED",t.FAILED="FAILED",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.HTLCAttempt_HTLCStatus||(e.HTLCAttempt_HTLCStatus={})).IN_FLIGHT="IN_FLIGHT",N.SUCCEEDED="SUCCEEDED",N.FAILED="FAILED",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.Failure_FailureCode||(e.Failure_FailureCode={})).RESERVED="RESERVED",_.INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS",_.INCORRECT_PAYMENT_AMOUNT="INCORRECT_PAYMENT_AMOUNT",_.FINAL_INCORRECT_CLTV_EXPIRY="FINAL_INCORRECT_CLTV_EXPIRY",_.FINAL_INCORRECT_HTLC_AMOUNT="FINAL_INCORRECT_HTLC_AMOUNT",_.FINAL_EXPIRY_TOO_SOON="FINAL_EXPIRY_TOO_SOON",_.INVALID_REALM="INVALID_REALM",_.EXPIRY_TOO_SOON="EXPIRY_TOO_SOON",_.INVALID_ONION_VERSION="INVALID_ONION_VERSION",_.INVALID_ONION_HMAC="INVALID_ONION_HMAC",_.INVALID_ONION_KEY="INVALID_ONION_KEY",_.AMOUNT_BELOW_MINIMUM="AMOUNT_BELOW_MINIMUM",_.FEE_INSUFFICIENT="FEE_INSUFFICIENT",_.INCORRECT_CLTV_EXPIRY="INCORRECT_CLTV_EXPIRY",_.CHANNEL_DISABLED="CHANNEL_DISABLED",_.TEMPORARY_CHANNEL_FAILURE="TEMPORARY_CHANNEL_FAILURE",_.REQUIRED_NODE_FEATURE_MISSING="REQUIRED_NODE_FEATURE_MISSING",_.REQUIRED_CHANNEL_FEATURE_MISSING="REQUIRED_CHANNEL_FEATURE_MISSING",_.UNKNOWN_NEXT_PEER="UNKNOWN_NEXT_PEER",_.TEMPORARY_NODE_FAILURE="TEMPORARY_NODE_FAILURE",_.PERMANENT_NODE_FAILURE="PERMANENT_NODE_FAILURE",_.PERMANENT_CHANNEL_FAILURE="PERMANENT_CHANNEL_FAILURE",_.EXPIRY_TOO_FAR="EXPIRY_TOO_FAR",_.MPP_TIMEOUT="MPP_TIMEOUT",_.INVALID_ONION_PAYLOAD="INVALID_ONION_PAYLOAD",_.INTERNAL_FAILURE="INTERNAL_FAILURE",_.UNKNOWN_FAILURE="UNKNOWN_FAILURE",_.UNREADABLE_FAILURE="UNREADABLE_FAILURE",_.UNRECOGNIZED="UNRECOGNIZED"},4288:(E,e)=>{var _,N,t,O,T,r;Object.defineProperty(e,"__esModule",{value:!0}),e.HtlcEvent_EventType=e.MissionControlConfig_ProbabilityModel=e.ChanStatusAction=e.ResolveHoldForwardAction=e.PaymentState=e.FailureDetail=void 0,(r=e.FailureDetail||(e.FailureDetail={})).UNKNOWN="UNKNOWN",r.NO_DETAIL="NO_DETAIL",r.ONION_DECODE="ONION_DECODE",r.LINK_NOT_ELIGIBLE="LINK_NOT_ELIGIBLE",r.ON_CHAIN_TIMEOUT="ON_CHAIN_TIMEOUT",r.HTLC_EXCEEDS_MAX="HTLC_EXCEEDS_MAX",r.INSUFFICIENT_BALANCE="INSUFFICIENT_BALANCE",r.INCOMPLETE_FORWARD="INCOMPLETE_FORWARD",r.HTLC_ADD_FAILED="HTLC_ADD_FAILED",r.FORWARDS_DISABLED="FORWARDS_DISABLED",r.INVOICE_CANCELED="INVOICE_CANCELED",r.INVOICE_UNDERPAID="INVOICE_UNDERPAID",r.INVOICE_EXPIRY_TOO_SOON="INVOICE_EXPIRY_TOO_SOON",r.INVOICE_NOT_OPEN="INVOICE_NOT_OPEN",r.MPP_INVOICE_TIMEOUT="MPP_INVOICE_TIMEOUT",r.ADDRESS_MISMATCH="ADDRESS_MISMATCH",r.SET_TOTAL_MISMATCH="SET_TOTAL_MISMATCH",r.SET_TOTAL_TOO_LOW="SET_TOTAL_TOO_LOW",r.SET_OVERPAID="SET_OVERPAID",r.UNKNOWN_INVOICE="UNKNOWN_INVOICE",r.INVALID_KEYSEND="INVALID_KEYSEND",r.MPP_IN_PROGRESS="MPP_IN_PROGRESS",r.CIRCULAR_ROUTE="CIRCULAR_ROUTE",r.UNRECOGNIZED="UNRECOGNIZED",(T=e.PaymentState||(e.PaymentState={})).IN_FLIGHT="IN_FLIGHT",T.SUCCEEDED="SUCCEEDED",T.FAILED_TIMEOUT="FAILED_TIMEOUT",T.FAILED_NO_ROUTE="FAILED_NO_ROUTE",T.FAILED_ERROR="FAILED_ERROR",T.FAILED_INCORRECT_PAYMENT_DETAILS="FAILED_INCORRECT_PAYMENT_DETAILS",T.FAILED_INSUFFICIENT_BALANCE="FAILED_INSUFFICIENT_BALANCE",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.ResolveHoldForwardAction||(e.ResolveHoldForwardAction={})).SETTLE="SETTLE",O.FAIL="FAIL",O.RESUME="RESUME",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.ChanStatusAction||(e.ChanStatusAction={})).ENABLE="ENABLE",t.DISABLE="DISABLE",t.AUTO="AUTO",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.MissionControlConfig_ProbabilityModel||(e.MissionControlConfig_ProbabilityModel={})).APRIORI="APRIORI",N.BIMODAL="BIMODAL",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.HtlcEvent_EventType||(e.HtlcEvent_EventType={})).UNKNOWN="UNKNOWN",_.SEND="SEND",_.RECEIVE="RECEIVE",_.FORWARD="FORWARD",_.UNRECOGNIZED="UNRECOGNIZED"},885:(E,e)=>{var _,N;Object.defineProperty(e,"__esModule",{value:!0}),e.MuSig2Version=e.SignMethod=void 0,(N=e.SignMethod||(e.SignMethod={})).SIGN_METHOD_WITNESS_V0="SIGN_METHOD_WITNESS_V0",N.SIGN_METHOD_TAPROOT_KEY_SPEND_BIP0086="SIGN_METHOD_TAPROOT_KEY_SPEND_BIP0086",N.SIGN_METHOD_TAPROOT_KEY_SPEND="SIGN_METHOD_TAPROOT_KEY_SPEND",N.SIGN_METHOD_TAPROOT_SCRIPT_SPEND="SIGN_METHOD_TAPROOT_SCRIPT_SPEND",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.MuSig2Version||(e.MuSig2Version={})).MUSIG2_VERSION_UNDEFINED="MUSIG2_VERSION_UNDEFINED",_.MUSIG2_VERSION_V040="MUSIG2_VERSION_V040",_.MUSIG2_VERSION_V100RC2="MUSIG2_VERSION_V100RC2",_.UNRECOGNIZED="UNRECOGNIZED"},1213:(E,e)=>{var _,N,t;Object.defineProperty(e,"__esModule",{value:!0}),e.ChangeAddressType=e.WitnessType=e.AddressType=void 0,(t=e.AddressType||(e.AddressType={})).UNKNOWN="UNKNOWN",t.WITNESS_PUBKEY_HASH="WITNESS_PUBKEY_HASH",t.NESTED_WITNESS_PUBKEY_HASH="NESTED_WITNESS_PUBKEY_HASH",t.HYBRID_NESTED_WITNESS_PUBKEY_HASH="HYBRID_NESTED_WITNESS_PUBKEY_HASH",t.TAPROOT_PUBKEY="TAPROOT_PUBKEY",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.WitnessType||(e.WitnessType={})).UNKNOWN_WITNESS="UNKNOWN_WITNESS",N.COMMITMENT_TIME_LOCK="COMMITMENT_TIME_LOCK",N.COMMITMENT_NO_DELAY="COMMITMENT_NO_DELAY",N.COMMITMENT_REVOKE="COMMITMENT_REVOKE",N.HTLC_OFFERED_REVOKE="HTLC_OFFERED_REVOKE",N.HTLC_ACCEPTED_REVOKE="HTLC_ACCEPTED_REVOKE",N.HTLC_OFFERED_TIMEOUT_SECOND_LEVEL="HTLC_OFFERED_TIMEOUT_SECOND_LEVEL",N.HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL="HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL",N.HTLC_OFFERED_REMOTE_TIMEOUT="HTLC_OFFERED_REMOTE_TIMEOUT",N.HTLC_ACCEPTED_REMOTE_SUCCESS="HTLC_ACCEPTED_REMOTE_SUCCESS",N.HTLC_SECOND_LEVEL_REVOKE="HTLC_SECOND_LEVEL_REVOKE",N.WITNESS_KEY_HASH="WITNESS_KEY_HASH",N.NESTED_WITNESS_KEY_HASH="NESTED_WITNESS_KEY_HASH",N.COMMITMENT_ANCHOR="COMMITMENT_ANCHOR",N.COMMITMENT_NO_DELAY_TWEAKLESS="COMMITMENT_NO_DELAY_TWEAKLESS",N.COMMITMENT_TO_REMOTE_CONFIRMED="COMMITMENT_TO_REMOTE_CONFIRMED",N.HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED="HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED",N.HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED="HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED",N.LEASE_COMMITMENT_TIME_LOCK="LEASE_COMMITMENT_TIME_LOCK",N.LEASE_COMMITMENT_TO_REMOTE_CONFIRMED="LEASE_COMMITMENT_TO_REMOTE_CONFIRMED",N.LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL="LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL",N.LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL="LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL",N.TAPROOT_PUB_KEY_SPEND="TAPROOT_PUB_KEY_SPEND",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.ChangeAddressType||(e.ChangeAddressType={})).CHANGE_ADDRESS_TYPE_UNSPECIFIED="CHANGE_ADDRESS_TYPE_UNSPECIFIED",_.CHANGE_ADDRESS_TYPE_P2TR="CHANGE_ADDRESS_TYPE_P2TR",_.UNRECOGNIZED="UNRECOGNIZED"},7939:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},2482:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},9921:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.PolicyType=void 0,(_=e.PolicyType||(e.PolicyType={})).LEGACY="LEGACY",_.ANCHOR="ANCHOR",_.UNRECOGNIZED="UNRECOGNIZED"},8452:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(9021),e),t(_(7939),e)},5598:(E,e)=>{var _,N,t,O,T,r;Object.defineProperty(e,"__esModule",{value:!0}),e.AutoReason=e.LiquidityRuleType=e.FailureReason=e.SwapState=e.SwapType=e.AddressType=void 0,(r=e.AddressType||(e.AddressType={})).ADDRESS_TYPE_UNKNOWN="ADDRESS_TYPE_UNKNOWN",r.TAPROOT_PUBKEY="TAPROOT_PUBKEY",r.UNRECOGNIZED="UNRECOGNIZED",(T=e.SwapType||(e.SwapType={})).LOOP_OUT="LOOP_OUT",T.LOOP_IN="LOOP_IN",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.SwapState||(e.SwapState={})).INITIATED="INITIATED",O.PREIMAGE_REVEALED="PREIMAGE_REVEALED",O.HTLC_PUBLISHED="HTLC_PUBLISHED",O.SUCCESS="SUCCESS",O.FAILED="FAILED",O.INVOICE_SETTLED="INVOICE_SETTLED",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.FailureReason||(e.FailureReason={})).FAILURE_REASON_NONE="FAILURE_REASON_NONE",t.FAILURE_REASON_OFFCHAIN="FAILURE_REASON_OFFCHAIN",t.FAILURE_REASON_TIMEOUT="FAILURE_REASON_TIMEOUT",t.FAILURE_REASON_SWEEP_TIMEOUT="FAILURE_REASON_SWEEP_TIMEOUT",t.FAILURE_REASON_INSUFFICIENT_VALUE="FAILURE_REASON_INSUFFICIENT_VALUE",t.FAILURE_REASON_TEMPORARY="FAILURE_REASON_TEMPORARY",t.FAILURE_REASON_INCORRECT_AMOUNT="FAILURE_REASON_INCORRECT_AMOUNT",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.LiquidityRuleType||(e.LiquidityRuleType={})).UNKNOWN="UNKNOWN",N.THRESHOLD="THRESHOLD",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.AutoReason||(e.AutoReason={})).AUTO_REASON_UNKNOWN="AUTO_REASON_UNKNOWN",_.AUTO_REASON_BUDGET_NOT_STARTED="AUTO_REASON_BUDGET_NOT_STARTED",_.AUTO_REASON_SWEEP_FEES="AUTO_REASON_SWEEP_FEES",_.AUTO_REASON_BUDGET_ELAPSED="AUTO_REASON_BUDGET_ELAPSED",_.AUTO_REASON_IN_FLIGHT="AUTO_REASON_IN_FLIGHT",_.AUTO_REASON_SWAP_FEE="AUTO_REASON_SWAP_FEE",_.AUTO_REASON_MINER_FEE="AUTO_REASON_MINER_FEE",_.AUTO_REASON_PREPAY="AUTO_REASON_PREPAY",_.AUTO_REASON_FAILURE_BACKOFF="AUTO_REASON_FAILURE_BACKOFF",_.AUTO_REASON_LOOP_OUT="AUTO_REASON_LOOP_OUT",_.AUTO_REASON_LOOP_IN="AUTO_REASON_LOOP_IN",_.AUTO_REASON_LIQUIDITY_OK="AUTO_REASON_LIQUIDITY_OK",_.AUTO_REASON_BUDGET_INSUFFICIENT="AUTO_REASON_BUDGET_INSUFFICIENT",_.AUTO_REASON_FEE_INSUFFICIENT="AUTO_REASON_FEE_INSUFFICIENT",_.UNRECOGNIZED="UNRECOGNIZED"},9283:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},9011:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(5598),e),t(_(9283),e)},956:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(800),e)},9927:(E,e)=>{var _,N,t,O,T,r,A,R,n,I,S,C,i,o;Object.defineProperty(e,"__esModule",{value:!0}),e.InvalidOrder_FailReason=e.AccountDiff_AccountState=e.SubscribeError_Error=e.OrderReject_OrderRejectReason=e.OrderMatchReject_RejectReason=e.DurationBucketState=e.OrderState=e.ChannelConfirmationConstraints=e.ChannelAnnouncementConstraints=e.NodeTier=e.AuctionType=e.OrderChannelType=e.AuctionAccountState=e.ChannelType=void 0,(o=e.ChannelType||(e.ChannelType={})).TWEAKLESS="TWEAKLESS",o.ANCHORS="ANCHORS",o.SCRIPT_ENFORCED_LEASE="SCRIPT_ENFORCED_LEASE",o.UNRECOGNIZED="UNRECOGNIZED",(i=e.AuctionAccountState||(e.AuctionAccountState={})).STATE_PENDING_OPEN="STATE_PENDING_OPEN",i.STATE_OPEN="STATE_OPEN",i.STATE_EXPIRED="STATE_EXPIRED",i.STATE_PENDING_UPDATE="STATE_PENDING_UPDATE",i.STATE_CLOSED="STATE_CLOSED",i.STATE_PENDING_BATCH="STATE_PENDING_BATCH",i.STATE_EXPIRED_PENDING_UPDATE="STATE_EXPIRED_PENDING_UPDATE",i.UNRECOGNIZED="UNRECOGNIZED",(C=e.OrderChannelType||(e.OrderChannelType={})).ORDER_CHANNEL_TYPE_UNKNOWN="ORDER_CHANNEL_TYPE_UNKNOWN",C.ORDER_CHANNEL_TYPE_PEER_DEPENDENT="ORDER_CHANNEL_TYPE_PEER_DEPENDENT",C.ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED="ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED",C.UNRECOGNIZED="UNRECOGNIZED",(S=e.AuctionType||(e.AuctionType={})).AUCTION_TYPE_BTC_INBOUND_LIQUIDITY="AUCTION_TYPE_BTC_INBOUND_LIQUIDITY",S.AUCTION_TYPE_BTC_OUTBOUND_LIQUIDITY="AUCTION_TYPE_BTC_OUTBOUND_LIQUIDITY",S.UNRECOGNIZED="UNRECOGNIZED",(I=e.NodeTier||(e.NodeTier={})).TIER_DEFAULT="TIER_DEFAULT",I.TIER_0="TIER_0",I.TIER_1="TIER_1",I.UNRECOGNIZED="UNRECOGNIZED",(n=e.ChannelAnnouncementConstraints||(e.ChannelAnnouncementConstraints={})).ANNOUNCEMENT_NO_PREFERENCE="ANNOUNCEMENT_NO_PREFERENCE",n.ONLY_ANNOUNCED="ONLY_ANNOUNCED",n.ONLY_UNANNOUNCED="ONLY_UNANNOUNCED",n.UNRECOGNIZED="UNRECOGNIZED",(R=e.ChannelConfirmationConstraints||(e.ChannelConfirmationConstraints={})).CONFIRMATION_NO_PREFERENCE="CONFIRMATION_NO_PREFERENCE",R.ONLY_CONFIRMED="ONLY_CONFIRMED",R.ONLY_ZEROCONF="ONLY_ZEROCONF",R.UNRECOGNIZED="UNRECOGNIZED",(A=e.OrderState||(e.OrderState={})).ORDER_SUBMITTED="ORDER_SUBMITTED",A.ORDER_CLEARED="ORDER_CLEARED",A.ORDER_PARTIALLY_FILLED="ORDER_PARTIALLY_FILLED",A.ORDER_EXECUTED="ORDER_EXECUTED",A.ORDER_CANCELED="ORDER_CANCELED",A.ORDER_EXPIRED="ORDER_EXPIRED",A.ORDER_FAILED="ORDER_FAILED",A.UNRECOGNIZED="UNRECOGNIZED",(r=e.DurationBucketState||(e.DurationBucketState={})).NO_MARKET="NO_MARKET",r.MARKET_CLOSED="MARKET_CLOSED",r.ACCEPTING_ORDERS="ACCEPTING_ORDERS",r.MARKET_OPEN="MARKET_OPEN",r.UNRECOGNIZED="UNRECOGNIZED",(T=e.OrderMatchReject_RejectReason||(e.OrderMatchReject_RejectReason={})).UNKNOWN="UNKNOWN",T.SERVER_MISBEHAVIOR="SERVER_MISBEHAVIOR",T.BATCH_VERSION_MISMATCH="BATCH_VERSION_MISMATCH",T.PARTIAL_REJECT="PARTIAL_REJECT",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.OrderReject_OrderRejectReason||(e.OrderReject_OrderRejectReason={})).DUPLICATE_PEER="DUPLICATE_PEER",O.CHANNEL_FUNDING_FAILED="CHANNEL_FUNDING_FAILED",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.SubscribeError_Error||(e.SubscribeError_Error={})).UNKNOWN="UNKNOWN",t.SERVER_SHUTDOWN="SERVER_SHUTDOWN",t.ACCOUNT_DOES_NOT_EXIST="ACCOUNT_DOES_NOT_EXIST",t.INCOMPLETE_ACCOUNT_RESERVATION="INCOMPLETE_ACCOUNT_RESERVATION",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.AccountDiff_AccountState||(e.AccountDiff_AccountState={})).OUTPUT_RECREATED="OUTPUT_RECREATED",N.OUTPUT_DUST_EXTENDED_OFFCHAIN="OUTPUT_DUST_EXTENDED_OFFCHAIN",N.OUTPUT_DUST_ADDED_TO_FEES="OUTPUT_DUST_ADDED_TO_FEES",N.OUTPUT_FULLY_SPENT="OUTPUT_FULLY_SPENT",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.InvalidOrder_FailReason||(e.InvalidOrder_FailReason={})).INVALID_AMT="INVALID_AMT",_.UNRECOGNIZED="UNRECOGNIZED"},3961:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},8456:(E,e)=>{var _,N,t,O;Object.defineProperty(e,"__esModule",{value:!0}),e.MatchRejectReason=e.MatchState=e.AccountState=e.AccountVersion=void 0,(O=e.AccountVersion||(e.AccountVersion={})).ACCOUNT_VERSION_LND_DEPENDENT="ACCOUNT_VERSION_LND_DEPENDENT",O.ACCOUNT_VERSION_LEGACY="ACCOUNT_VERSION_LEGACY",O.ACCOUNT_VERSION_TAPROOT="ACCOUNT_VERSION_TAPROOT",O.ACCOUNT_VERSION_TAPROOT_V2="ACCOUNT_VERSION_TAPROOT_V2",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.AccountState||(e.AccountState={})).PENDING_OPEN="PENDING_OPEN",t.PENDING_UPDATE="PENDING_UPDATE",t.OPEN="OPEN",t.EXPIRED="EXPIRED",t.PENDING_CLOSED="PENDING_CLOSED",t.CLOSED="CLOSED",t.RECOVERY_FAILED="RECOVERY_FAILED",t.PENDING_BATCH="PENDING_BATCH",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.MatchState||(e.MatchState={})).PREPARE="PREPARE",N.ACCEPTED="ACCEPTED",N.REJECTED="REJECTED",N.SIGNED="SIGNED",N.FINALIZED="FINALIZED",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.MatchRejectReason||(e.MatchRejectReason={})).NONE="NONE",_.SERVER_MISBEHAVIOR="SERVER_MISBEHAVIOR",_.BATCH_VERSION_MISMATCH="BATCH_VERSION_MISMATCH",_.PARTIAL_REJECT_COLLATERAL="PARTIAL_REJECT_COLLATERAL",_.PARTIAL_REJECT_DUPLICATE_PEER="PARTIAL_REJECT_DUPLICATE_PEER",_.PARTIAL_REJECT_CHANNEL_FUNDING_FAILED="PARTIAL_REJECT_CHANNEL_FUNDING_FAILED",_.UNRECOGNIZED="UNRECOGNIZED"},3377:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(9927),e),t(_(3961),e),t(_(8456),e)},1226:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(4288),e)},1644:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.subscriptionMethods=e.serviceNames=void 0,e.serviceNames={frdrpc:{FaradayServer:"frdrpc.FaradayServer"},litrpc:{Firewall:"litrpc.Firewall",Autopilot:"litrpc.Autopilot",Sessions:"litrpc.Sessions",Status:"litrpc.Status"},autopilotrpc:{Autopilot:"autopilotrpc.Autopilot"},chainrpc:{ChainNotifier:"chainrpc.ChainNotifier"},invoicesrpc:{Invoices:"invoicesrpc.Invoices"},lnrpc:{Lightning:"lnrpc.Lightning",WalletUnlocker:"lnrpc.WalletUnlocker"},routerrpc:{Router:"routerrpc.Router"},signrpc:{Signer:"signrpc.Signer"},walletrpc:{WalletKit:"walletrpc.WalletKit"},watchtowerrpc:{Watchtower:"watchtowerrpc.Watchtower"},wtclientrpc:{WatchtowerClient:"wtclientrpc.WatchtowerClient"},looprpc:{SwapClient:"looprpc.SwapClient",Debug:"looprpc.Debug"},poolrpc:{ChannelAuctioneer:"poolrpc.ChannelAuctioneer",HashMail:"poolrpc.HashMail",Trader:"poolrpc.Trader"},assetwalletrpc:{AssetWallet:"assetwalletrpc.AssetWallet"},mintrpc:{Mint:"mintrpc.Mint"},taprpc:{TaprootAssets:"taprpc.TaprootAssets"},universerpc:{Universe:"universerpc.Universe"}},e.subscriptionMethods=["chainrpc.ChainNotifier.RegisterConfirmationsNtfn","chainrpc.ChainNotifier.RegisterSpendNtfn","chainrpc.ChainNotifier.RegisterBlockEpochNtfn","invoicesrpc.Invoices.SubscribeSingleInvoice","lnrpc.Lightning.SubscribeTransactions","lnrpc.Lightning.SubscribePeerEvents","lnrpc.Lightning.SubscribeChannelEvents","lnrpc.Lightning.OpenChannel","lnrpc.Lightning.ChannelAcceptor","lnrpc.Lightning.CloseChannel","lnrpc.Lightning.SendPayment","lnrpc.Lightning.SendToRoute","lnrpc.Lightning.SubscribeInvoices","lnrpc.Lightning.SubscribeChannelGraph","lnrpc.Lightning.SubscribeChannelBackups","lnrpc.Lightning.RegisterRPCMiddleware","lnrpc.Lightning.SubscribeCustomMessages","routerrpc.Router.SendPaymentV2","routerrpc.Router.TrackPaymentV2","routerrpc.Router.TrackPayments","routerrpc.Router.SubscribeHtlcEvents","routerrpc.Router.SendPayment","routerrpc.Router.TrackPayment","routerrpc.Router.HtlcInterceptor","looprpc.SwapClient.Monitor","poolrpc.ChannelAuctioneer.SubscribeBatchAuction","poolrpc.ChannelAuctioneer.SubscribeSidecar","poolrpc.HashMail.RecvStream","taprpc.TaprootAssets.SubscribeSendAssetEventNtfns"]},1207:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(885),e)},9825:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},800:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.BatchState=void 0,(_=e.BatchState||(e.BatchState={})).BATCH_STATE_UNKNOWN="BATCH_STATE_UNKNOWN",_.BATCH_STATE_PEDNING="BATCH_STATE_PEDNING",_.BATCH_STATE_FROZEN="BATCH_STATE_FROZEN",_.BATCH_STATE_COMMITTED="BATCH_STATE_COMMITTED",_.BATCH_STATE_BROADCAST="BATCH_STATE_BROADCAST",_.BATCH_STATE_CONFIRMED="BATCH_STATE_CONFIRMED",_.BATCH_STATE_FINALIZED="BATCH_STATE_FINALIZED",_.BATCH_STATE_SEEDLING_CANCELLED="BATCH_STATE_SEEDLING_CANCELLED",_.BATCH_STATE_SPROUT_CANCELLED="BATCH_STATE_SPROUT_CANCELLED",_.UNRECOGNIZED="UNRECOGNIZED"},3827:(E,e)=>{var _,N,t,O,T;Object.defineProperty(e,"__esModule",{value:!0}),e.AddrEventStatus=e.OutputType=e.AssetVersion=e.AssetMetaType=e.AssetType=void 0,(T=e.AssetType||(e.AssetType={})).NORMAL="NORMAL",T.COLLECTIBLE="COLLECTIBLE",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.AssetMetaType||(e.AssetMetaType={})).META_TYPE_OPAQUE="META_TYPE_OPAQUE",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.AssetVersion||(e.AssetVersion={})).ASSET_VERSION_V0="ASSET_VERSION_V0",t.ASSET_VERSION_V1="ASSET_VERSION_V1",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.OutputType||(e.OutputType={})).OUTPUT_TYPE_SIMPLE="OUTPUT_TYPE_SIMPLE",N.OUTPUT_TYPE_SPLIT_ROOT="OUTPUT_TYPE_SPLIT_ROOT",N.OUTPUT_TYPE_PASSIVE_ASSETS_ONLY="OUTPUT_TYPE_PASSIVE_ASSETS_ONLY",N.OUTPUT_TYPE_PASSIVE_SPLIT_ROOT="OUTPUT_TYPE_PASSIVE_SPLIT_ROOT",N.OUTPUT_TYPE_SIMPLE_PASSIVE_ASSETS="OUTPUT_TYPE_SIMPLE_PASSIVE_ASSETS",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.AddrEventStatus||(e.AddrEventStatus={})).ADDR_EVENT_STATUS_UNKNOWN="ADDR_EVENT_STATUS_UNKNOWN",_.ADDR_EVENT_STATUS_TRANSACTION_DETECTED="ADDR_EVENT_STATUS_TRANSACTION_DETECTED",_.ADDR_EVENT_STATUS_TRANSACTION_CONFIRMED="ADDR_EVENT_STATUS_TRANSACTION_CONFIRMED",_.ADDR_EVENT_STATUS_PROOF_RECEIVED="ADDR_EVENT_STATUS_PROOF_RECEIVED",_.ADDR_EVENT_STATUS_COMPLETED="ADDR_EVENT_STATUS_COMPLETED",_.UNRECOGNIZED="UNRECOGNIZED"},4765:(E,e)=>{var _,N,t,O,T;Object.defineProperty(e,"__esModule",{value:!0}),e.AssetTypeFilter=e.SortDirection=e.AssetQuerySort=e.UniverseSyncMode=e.ProofType=void 0,(T=e.ProofType||(e.ProofType={})).PROOF_TYPE_UNSPECIFIED="PROOF_TYPE_UNSPECIFIED",T.PROOF_TYPE_ISSUANCE="PROOF_TYPE_ISSUANCE",T.PROOF_TYPE_TRANSFER="PROOF_TYPE_TRANSFER",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.UniverseSyncMode||(e.UniverseSyncMode={})).SYNC_ISSUANCE_ONLY="SYNC_ISSUANCE_ONLY",O.SYNC_FULL="SYNC_FULL",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.AssetQuerySort||(e.AssetQuerySort={})).SORT_BY_NONE="SORT_BY_NONE",t.SORT_BY_ASSET_NAME="SORT_BY_ASSET_NAME",t.SORT_BY_ASSET_ID="SORT_BY_ASSET_ID",t.SORT_BY_ASSET_TYPE="SORT_BY_ASSET_TYPE",t.SORT_BY_TOTAL_SYNCS="SORT_BY_TOTAL_SYNCS",t.SORT_BY_TOTAL_PROOFS="SORT_BY_TOTAL_PROOFS",t.SORT_BY_GENESIS_HEIGHT="SORT_BY_GENESIS_HEIGHT",t.SORT_BY_TOTAL_SUPPLY="SORT_BY_TOTAL_SUPPLY",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.SortDirection||(e.SortDirection={})).SORT_DIRECTION_ASC="SORT_DIRECTION_ASC",N.SORT_DIRECTION_DESC="SORT_DIRECTION_DESC",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.AssetTypeFilter||(e.AssetTypeFilter={})).FILTER_ASSET_NONE="FILTER_ASSET_NONE",_.FILTER_ASSET_NORMAL="FILTER_ASSET_NORMAL",_.FILTER_ASSET_COLLECTIBLE="FILTER_ASSET_COLLECTIBLE",_.UNRECOGNIZED="UNRECOGNIZED"},4914:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(3827),e)},1877:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(4765),e)},9367:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(1213),e)},6412:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(2482),e)},3946:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(9921),e)},1848:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.camelKeysToSnake=e.snakeKeysToCamel=e.isObject=void 0;var _=function(E){return Array.isArray(E)};e.isObject=function(E){return E===Object(E)&&!_(E)&&"function"!=typeof E},e.snakeKeysToCamel=function(E){if((0,e.isObject)(E)){var N={};return Object.keys(E).forEach((function(_){var t;N[(t=_,t.replace(/([-_][a-z])/gi,(function(E){return E.toUpperCase().replace("-","").replace("_","")})))]=(0,e.snakeKeysToCamel)(E[_])})),N}return _(E)?E.map((function(E){return(0,e.snakeKeysToCamel)(E)})):E},e.camelKeysToSnake=function(E){if((0,e.isObject)(E)){var N={};return Object.keys(E).forEach((function(_){var t;N[(t=_,t.replace(/[A-Z]/g,(function(E){return"_".concat(E.toLowerCase())})))]=(0,e.camelKeysToSnake)(E[_])})),N}return _(E)?E.map((function(E){return(0,e.camelKeysToSnake)(E)})):E}}},e={};return function _(N){var t=e[N];if(void 0!==t)return t.exports;var O=e[N]={exports:{}};return E[N].call(O.exports,O,O.exports,_),O.exports}(8713)})())); | ||
!function(E,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["@lightninglabs/lnc-core"]=e():E["@lightninglabs/lnc-core"]=e()}(this,(()=>(()=>{"use strict";var E={6877:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.faradayServer=E(N.serviceNames.frdrpc.FaradayServer,e)}},7382:function(E,e,_){var N=this&&this.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(e,"__esModule",{value:!0}),e.LitApi=e.TaprootAssetsApi=e.FaradayApi=e.PoolApi=e.LoopApi=e.LndApi=void 0;var t=_(3152);Object.defineProperty(e,"LndApi",{enumerable:!0,get:function(){return N(t).default}});var O=_(1343);Object.defineProperty(e,"LoopApi",{enumerable:!0,get:function(){return N(O).default}});var T=_(2146);Object.defineProperty(e,"PoolApi",{enumerable:!0,get:function(){return N(T).default}});var r=_(6877);Object.defineProperty(e,"FaradayApi",{enumerable:!0,get:function(){return N(r).default}});var A=_(3151);Object.defineProperty(e,"TaprootAssetsApi",{enumerable:!0,get:function(){return N(A).default}});var R=_(1929);Object.defineProperty(e,"LitApi",{enumerable:!0,get:function(){return N(R).default}})},1929:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.autopilot=E(N.serviceNames.litrpc.Autopilot,e),this.firewall=E(N.serviceNames.litrpc.Firewall,e),this.sessions=E(N.serviceNames.litrpc.Sessions,e),this.status=E(N.serviceNames.litrpc.Status,e)}},3152:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.autopilot=E(N.serviceNames.autopilotrpc.Autopilot,e),this.chainNotifier=E(N.serviceNames.chainrpc.ChainNotifier,e),this.invoices=E(N.serviceNames.invoicesrpc.Invoices,e),this.lightning=E(N.serviceNames.lnrpc.Lightning,e),this.router=E(N.serviceNames.routerrpc.Router,e),this.signer=E(N.serviceNames.signrpc.Signer,e),this.walletKit=E(N.serviceNames.walletrpc.WalletKit,e),this.walletUnlocker=E(N.serviceNames.lnrpc.WalletUnlocker,e),this.watchtower=E(N.serviceNames.watchtowerrpc.Watchtower,e),this.watchtowerClient=E(N.serviceNames.wtclientrpc.WatchtowerClient,e)}},1343:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.swapClient=E(N.serviceNames.looprpc.SwapClient,e),this.debug=E(N.serviceNames.looprpc.Debug,e)}},2146:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.trader=E(N.serviceNames.poolrpc.Trader,e),this.channelAuctioneer=E(N.serviceNames.poolrpc.ChannelAuctioneer,e),this.hashmail=E(N.serviceNames.poolrpc.HashMail,e)}},3151:(E,e,_)=>{Object.defineProperty(e,"__esModule",{value:!0});var N=_(1644);e.default=function(E,e){this.taprootAssets=E(N.serviceNames.taprpc.TaprootAssets,e),this.mint=E(N.serviceNames.mintrpc.Mint,e),this.assetWallet=E(N.serviceNames.assetwalletrpc.AssetWallet,e),this.universe=E(N.serviceNames.universerpc.Universe,e)}},8713:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),e.subscriptionMethods=e.TaprootAssetsApi=e.LitApi=e.FaradayApi=e.PoolApi=e.LoopApi=e.LndApi=e.snakeKeysToCamel=e.isObject=e.camelKeysToSnake=void 0,t(_(5894),e);var O=_(1848);Object.defineProperty(e,"camelKeysToSnake",{enumerable:!0,get:function(){return O.camelKeysToSnake}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return O.isObject}}),Object.defineProperty(e,"snakeKeysToCamel",{enumerable:!0,get:function(){return O.snakeKeysToCamel}});var T=_(7382);Object.defineProperty(e,"LndApi",{enumerable:!0,get:function(){return T.LndApi}}),Object.defineProperty(e,"LoopApi",{enumerable:!0,get:function(){return T.LoopApi}}),Object.defineProperty(e,"PoolApi",{enumerable:!0,get:function(){return T.PoolApi}}),Object.defineProperty(e,"FaradayApi",{enumerable:!0,get:function(){return T.FaradayApi}}),Object.defineProperty(e,"LitApi",{enumerable:!0,get:function(){return T.LitApi}}),Object.defineProperty(e,"TaprootAssetsApi",{enumerable:!0,get:function(){return T.TaprootAssetsApi}});var r=_(1644);Object.defineProperty(e,"subscriptionMethods",{enumerable:!0,get:function(){return r.subscriptionMethods}})},3241:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(9825),e)},5273:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(6726),e)},1071:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(5374),e)},2076:(E,e)=>{var _,N,t,O;Object.defineProperty(e,"__esModule",{value:!0}),e.CloseRecommendationRequest_Metric=e.EntryType=e.FiatBackend=e.Granularity=void 0,(O=e.Granularity||(e.Granularity={})).UNKNOWN_GRANULARITY="UNKNOWN_GRANULARITY",O.MINUTE="MINUTE",O.FIVE_MINUTES="FIVE_MINUTES",O.FIFTEEN_MINUTES="FIFTEEN_MINUTES",O.THIRTY_MINUTES="THIRTY_MINUTES",O.HOUR="HOUR",O.SIX_HOURS="SIX_HOURS",O.TWELVE_HOURS="TWELVE_HOURS",O.DAY="DAY",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.FiatBackend||(e.FiatBackend={})).UNKNOWN_FIATBACKEND="UNKNOWN_FIATBACKEND",t.COINCAP="COINCAP",t.COINDESK="COINDESK",t.CUSTOM="CUSTOM",t.COINGECKO="COINGECKO",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.EntryType||(e.EntryType={})).UNKNOWN="UNKNOWN",N.LOCAL_CHANNEL_OPEN="LOCAL_CHANNEL_OPEN",N.REMOTE_CHANNEL_OPEN="REMOTE_CHANNEL_OPEN",N.CHANNEL_OPEN_FEE="CHANNEL_OPEN_FEE",N.CHANNEL_CLOSE="CHANNEL_CLOSE",N.RECEIPT="RECEIPT",N.PAYMENT="PAYMENT",N.FEE="FEE",N.CIRCULAR_RECEIPT="CIRCULAR_RECEIPT",N.FORWARD="FORWARD",N.FORWARD_FEE="FORWARD_FEE",N.CIRCULAR_PAYMENT="CIRCULAR_PAYMENT",N.CIRCULAR_FEE="CIRCULAR_FEE",N.SWEEP="SWEEP",N.SWEEP_FEE="SWEEP_FEE",N.CHANNEL_CLOSE_FEE="CHANNEL_CLOSE_FEE",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.CloseRecommendationRequest_Metric||(e.CloseRecommendationRequest_Metric={})).UNKNOWN="UNKNOWN",_.UPTIME="UPTIME",_.REVENUE="REVENUE",_.INCOMING_VOLUME="INCOMING_VOLUME",_.OUTGOING_VOLUME="OUTGOING_VOLUME",_.TOTAL_VOLUME="TOTAL_VOLUME",_.UNRECOGNIZED="UNRECOGNIZED"},915:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(2076),e)},5894:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__setModuleDefault||(Object.create?function(E,e){Object.defineProperty(E,"default",{enumerable:!0,value:e})}:function(E,e){E.default=e}),O=this&&this.__importStar||function(E){if(E&&E.__esModule)return E;var e={};if(null!=E)for(var _ in E)"default"!==_&&Object.prototype.hasOwnProperty.call(E,_)&&N(e,E,_);return t(e,E),e};Object.defineProperty(e,"__esModule",{value:!0}),e.universerpc=e.taprpc=e.mintrpc=e.assetwalletrpc=e.poolrpc=e.looprpc=e.wtclientrpc=e.watchtowerrpc=e.walletrpc=e.signrpc=e.routerrpc=e.lnrpc=e.invoicesrpc=e.chainrpc=e.autopilotrpc=e.litrpc=e.frdrpc=void 0;var T=O(_(915));e.frdrpc=T;var r=O(_(5903));e.litrpc=r;var A=O(_(5273));e.autopilotrpc=A;var R=O(_(1071));e.chainrpc=R;var I=O(_(5312));e.invoicesrpc=I;var n=O(_(8452));e.lnrpc=n;var S=O(_(1226));e.routerrpc=S;var C=O(_(1207));e.signrpc=C;var i=O(_(9367));e.walletrpc=i;var o=O(_(6412));e.watchtowerrpc=o;var a=O(_(3946));e.wtclientrpc=a;var c=O(_(9011));e.looprpc=c;var D=O(_(3377));e.poolrpc=D;var U=O(_(3241));e.assetwalletrpc=U;var P=O(_(956));e.mintrpc=P;var L=O(_(4914));e.taprpc=L;var s=O(_(1877));e.universerpc=s},5312:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(6212),e)},481:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.ActionState=void 0,(_=e.ActionState||(e.ActionState={})).STATE_UNKNOWN="STATE_UNKNOWN",_.STATE_PENDING="STATE_PENDING",_.STATE_DONE="STATE_DONE",_.STATE_ERROR="STATE_ERROR",_.UNRECOGNIZED="UNRECOGNIZED"},6166:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},2199:(E,e)=>{var _,N;Object.defineProperty(e,"__esModule",{value:!0}),e.SessionState=e.SessionType=void 0,(N=e.SessionType||(e.SessionType={})).TYPE_MACAROON_READONLY="TYPE_MACAROON_READONLY",N.TYPE_MACAROON_ADMIN="TYPE_MACAROON_ADMIN",N.TYPE_MACAROON_CUSTOM="TYPE_MACAROON_CUSTOM",N.TYPE_UI_PASSWORD="TYPE_UI_PASSWORD",N.TYPE_AUTOPILOT="TYPE_AUTOPILOT",N.TYPE_MACAROON_ACCOUNT="TYPE_MACAROON_ACCOUNT",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.SessionState||(e.SessionState={})).STATE_CREATED="STATE_CREATED",_.STATE_IN_USE="STATE_IN_USE",_.STATE_REVOKED="STATE_REVOKED",_.STATE_EXPIRED="STATE_EXPIRED",_.UNRECOGNIZED="UNRECOGNIZED"},9815:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},5903:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(481),e),t(_(6166),e),t(_(2199),e),t(_(9815),e)},6726:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},5374:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},6212:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.LookupModifier=void 0,(_=e.LookupModifier||(e.LookupModifier={})).DEFAULT="DEFAULT",_.HTLC_SET_ONLY="HTLC_SET_ONLY",_.HTLC_SET_BLANK="HTLC_SET_BLANK",_.UNRECOGNIZED="UNRECOGNIZED"},9021:(E,e)=>{var _,N,t,O,T,r,A,R,I,n,S,C,i,o,a,c,D,U,P,L;Object.defineProperty(e,"__esModule",{value:!0}),e.Failure_FailureCode=e.HTLCAttempt_HTLCStatus=e.Payment_PaymentStatus=e.Invoice_InvoiceState=e.ChannelEventUpdate_UpdateType=e.PendingChannelsResponse_ForceClosedChannel_AnchorState=e.PeerEvent_EventType=e.Peer_SyncType=e.ChannelCloseSummary_ClosureType=e.UpdateFailure=e.FeatureBit=e.PaymentFailureReason=e.InvoiceHTLCState=e.NodeMetricType=e.ResolutionOutcome=e.ResolutionType=e.Initiator=e.CommitmentType=e.AddressType=e.OutputScriptType=void 0,(L=e.OutputScriptType||(e.OutputScriptType={})).SCRIPT_TYPE_PUBKEY_HASH="SCRIPT_TYPE_PUBKEY_HASH",L.SCRIPT_TYPE_SCRIPT_HASH="SCRIPT_TYPE_SCRIPT_HASH",L.SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH="SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH",L.SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH="SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH",L.SCRIPT_TYPE_PUBKEY="SCRIPT_TYPE_PUBKEY",L.SCRIPT_TYPE_MULTISIG="SCRIPT_TYPE_MULTISIG",L.SCRIPT_TYPE_NULLDATA="SCRIPT_TYPE_NULLDATA",L.SCRIPT_TYPE_NON_STANDARD="SCRIPT_TYPE_NON_STANDARD",L.SCRIPT_TYPE_WITNESS_UNKNOWN="SCRIPT_TYPE_WITNESS_UNKNOWN",L.SCRIPT_TYPE_WITNESS_V1_TAPROOT="SCRIPT_TYPE_WITNESS_V1_TAPROOT",L.UNRECOGNIZED="UNRECOGNIZED",(P=e.AddressType||(e.AddressType={})).WITNESS_PUBKEY_HASH="WITNESS_PUBKEY_HASH",P.NESTED_PUBKEY_HASH="NESTED_PUBKEY_HASH",P.UNUSED_WITNESS_PUBKEY_HASH="UNUSED_WITNESS_PUBKEY_HASH",P.UNUSED_NESTED_PUBKEY_HASH="UNUSED_NESTED_PUBKEY_HASH",P.TAPROOT_PUBKEY="TAPROOT_PUBKEY",P.UNUSED_TAPROOT_PUBKEY="UNUSED_TAPROOT_PUBKEY",P.UNRECOGNIZED="UNRECOGNIZED",(U=e.CommitmentType||(e.CommitmentType={})).UNKNOWN_COMMITMENT_TYPE="UNKNOWN_COMMITMENT_TYPE",U.LEGACY="LEGACY",U.STATIC_REMOTE_KEY="STATIC_REMOTE_KEY",U.ANCHORS="ANCHORS",U.SCRIPT_ENFORCED_LEASE="SCRIPT_ENFORCED_LEASE",U.SIMPLE_TAPROOT="SIMPLE_TAPROOT",U.UNRECOGNIZED="UNRECOGNIZED",(D=e.Initiator||(e.Initiator={})).INITIATOR_UNKNOWN="INITIATOR_UNKNOWN",D.INITIATOR_LOCAL="INITIATOR_LOCAL",D.INITIATOR_REMOTE="INITIATOR_REMOTE",D.INITIATOR_BOTH="INITIATOR_BOTH",D.UNRECOGNIZED="UNRECOGNIZED",(c=e.ResolutionType||(e.ResolutionType={})).TYPE_UNKNOWN="TYPE_UNKNOWN",c.ANCHOR="ANCHOR",c.INCOMING_HTLC="INCOMING_HTLC",c.OUTGOING_HTLC="OUTGOING_HTLC",c.COMMIT="COMMIT",c.UNRECOGNIZED="UNRECOGNIZED",(a=e.ResolutionOutcome||(e.ResolutionOutcome={})).OUTCOME_UNKNOWN="OUTCOME_UNKNOWN",a.CLAIMED="CLAIMED",a.UNCLAIMED="UNCLAIMED",a.ABANDONED="ABANDONED",a.FIRST_STAGE="FIRST_STAGE",a.TIMEOUT="TIMEOUT",a.UNRECOGNIZED="UNRECOGNIZED",(o=e.NodeMetricType||(e.NodeMetricType={})).UNKNOWN="UNKNOWN",o.BETWEENNESS_CENTRALITY="BETWEENNESS_CENTRALITY",o.UNRECOGNIZED="UNRECOGNIZED",(i=e.InvoiceHTLCState||(e.InvoiceHTLCState={})).ACCEPTED="ACCEPTED",i.SETTLED="SETTLED",i.CANCELED="CANCELED",i.UNRECOGNIZED="UNRECOGNIZED",(C=e.PaymentFailureReason||(e.PaymentFailureReason={})).FAILURE_REASON_NONE="FAILURE_REASON_NONE",C.FAILURE_REASON_TIMEOUT="FAILURE_REASON_TIMEOUT",C.FAILURE_REASON_NO_ROUTE="FAILURE_REASON_NO_ROUTE",C.FAILURE_REASON_ERROR="FAILURE_REASON_ERROR",C.FAILURE_REASON_INCORRECT_PAYMENT_DETAILS="FAILURE_REASON_INCORRECT_PAYMENT_DETAILS",C.FAILURE_REASON_INSUFFICIENT_BALANCE="FAILURE_REASON_INSUFFICIENT_BALANCE",C.UNRECOGNIZED="UNRECOGNIZED",(S=e.FeatureBit||(e.FeatureBit={})).DATALOSS_PROTECT_REQ="DATALOSS_PROTECT_REQ",S.DATALOSS_PROTECT_OPT="DATALOSS_PROTECT_OPT",S.INITIAL_ROUING_SYNC="INITIAL_ROUING_SYNC",S.UPFRONT_SHUTDOWN_SCRIPT_REQ="UPFRONT_SHUTDOWN_SCRIPT_REQ",S.UPFRONT_SHUTDOWN_SCRIPT_OPT="UPFRONT_SHUTDOWN_SCRIPT_OPT",S.GOSSIP_QUERIES_REQ="GOSSIP_QUERIES_REQ",S.GOSSIP_QUERIES_OPT="GOSSIP_QUERIES_OPT",S.TLV_ONION_REQ="TLV_ONION_REQ",S.TLV_ONION_OPT="TLV_ONION_OPT",S.EXT_GOSSIP_QUERIES_REQ="EXT_GOSSIP_QUERIES_REQ",S.EXT_GOSSIP_QUERIES_OPT="EXT_GOSSIP_QUERIES_OPT",S.STATIC_REMOTE_KEY_REQ="STATIC_REMOTE_KEY_REQ",S.STATIC_REMOTE_KEY_OPT="STATIC_REMOTE_KEY_OPT",S.PAYMENT_ADDR_REQ="PAYMENT_ADDR_REQ",S.PAYMENT_ADDR_OPT="PAYMENT_ADDR_OPT",S.MPP_REQ="MPP_REQ",S.MPP_OPT="MPP_OPT",S.WUMBO_CHANNELS_REQ="WUMBO_CHANNELS_REQ",S.WUMBO_CHANNELS_OPT="WUMBO_CHANNELS_OPT",S.ANCHORS_REQ="ANCHORS_REQ",S.ANCHORS_OPT="ANCHORS_OPT",S.ANCHORS_ZERO_FEE_HTLC_REQ="ANCHORS_ZERO_FEE_HTLC_REQ",S.ANCHORS_ZERO_FEE_HTLC_OPT="ANCHORS_ZERO_FEE_HTLC_OPT",S.AMP_REQ="AMP_REQ",S.AMP_OPT="AMP_OPT",S.UNRECOGNIZED="UNRECOGNIZED",(n=e.UpdateFailure||(e.UpdateFailure={})).UPDATE_FAILURE_UNKNOWN="UPDATE_FAILURE_UNKNOWN",n.UPDATE_FAILURE_PENDING="UPDATE_FAILURE_PENDING",n.UPDATE_FAILURE_NOT_FOUND="UPDATE_FAILURE_NOT_FOUND",n.UPDATE_FAILURE_INTERNAL_ERR="UPDATE_FAILURE_INTERNAL_ERR",n.UPDATE_FAILURE_INVALID_PARAMETER="UPDATE_FAILURE_INVALID_PARAMETER",n.UNRECOGNIZED="UNRECOGNIZED",(I=e.ChannelCloseSummary_ClosureType||(e.ChannelCloseSummary_ClosureType={})).COOPERATIVE_CLOSE="COOPERATIVE_CLOSE",I.LOCAL_FORCE_CLOSE="LOCAL_FORCE_CLOSE",I.REMOTE_FORCE_CLOSE="REMOTE_FORCE_CLOSE",I.BREACH_CLOSE="BREACH_CLOSE",I.FUNDING_CANCELED="FUNDING_CANCELED",I.ABANDONED="ABANDONED",I.UNRECOGNIZED="UNRECOGNIZED",(R=e.Peer_SyncType||(e.Peer_SyncType={})).UNKNOWN_SYNC="UNKNOWN_SYNC",R.ACTIVE_SYNC="ACTIVE_SYNC",R.PASSIVE_SYNC="PASSIVE_SYNC",R.PINNED_SYNC="PINNED_SYNC",R.UNRECOGNIZED="UNRECOGNIZED",(A=e.PeerEvent_EventType||(e.PeerEvent_EventType={})).PEER_ONLINE="PEER_ONLINE",A.PEER_OFFLINE="PEER_OFFLINE",A.UNRECOGNIZED="UNRECOGNIZED",(r=e.PendingChannelsResponse_ForceClosedChannel_AnchorState||(e.PendingChannelsResponse_ForceClosedChannel_AnchorState={})).LIMBO="LIMBO",r.RECOVERED="RECOVERED",r.LOST="LOST",r.UNRECOGNIZED="UNRECOGNIZED",(T=e.ChannelEventUpdate_UpdateType||(e.ChannelEventUpdate_UpdateType={})).OPEN_CHANNEL="OPEN_CHANNEL",T.CLOSED_CHANNEL="CLOSED_CHANNEL",T.ACTIVE_CHANNEL="ACTIVE_CHANNEL",T.INACTIVE_CHANNEL="INACTIVE_CHANNEL",T.PENDING_OPEN_CHANNEL="PENDING_OPEN_CHANNEL",T.FULLY_RESOLVED_CHANNEL="FULLY_RESOLVED_CHANNEL",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.Invoice_InvoiceState||(e.Invoice_InvoiceState={})).OPEN="OPEN",O.SETTLED="SETTLED",O.CANCELED="CANCELED",O.ACCEPTED="ACCEPTED",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.Payment_PaymentStatus||(e.Payment_PaymentStatus={})).UNKNOWN="UNKNOWN",t.IN_FLIGHT="IN_FLIGHT",t.SUCCEEDED="SUCCEEDED",t.FAILED="FAILED",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.HTLCAttempt_HTLCStatus||(e.HTLCAttempt_HTLCStatus={})).IN_FLIGHT="IN_FLIGHT",N.SUCCEEDED="SUCCEEDED",N.FAILED="FAILED",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.Failure_FailureCode||(e.Failure_FailureCode={})).RESERVED="RESERVED",_.INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS",_.INCORRECT_PAYMENT_AMOUNT="INCORRECT_PAYMENT_AMOUNT",_.FINAL_INCORRECT_CLTV_EXPIRY="FINAL_INCORRECT_CLTV_EXPIRY",_.FINAL_INCORRECT_HTLC_AMOUNT="FINAL_INCORRECT_HTLC_AMOUNT",_.FINAL_EXPIRY_TOO_SOON="FINAL_EXPIRY_TOO_SOON",_.INVALID_REALM="INVALID_REALM",_.EXPIRY_TOO_SOON="EXPIRY_TOO_SOON",_.INVALID_ONION_VERSION="INVALID_ONION_VERSION",_.INVALID_ONION_HMAC="INVALID_ONION_HMAC",_.INVALID_ONION_KEY="INVALID_ONION_KEY",_.AMOUNT_BELOW_MINIMUM="AMOUNT_BELOW_MINIMUM",_.FEE_INSUFFICIENT="FEE_INSUFFICIENT",_.INCORRECT_CLTV_EXPIRY="INCORRECT_CLTV_EXPIRY",_.CHANNEL_DISABLED="CHANNEL_DISABLED",_.TEMPORARY_CHANNEL_FAILURE="TEMPORARY_CHANNEL_FAILURE",_.REQUIRED_NODE_FEATURE_MISSING="REQUIRED_NODE_FEATURE_MISSING",_.REQUIRED_CHANNEL_FEATURE_MISSING="REQUIRED_CHANNEL_FEATURE_MISSING",_.UNKNOWN_NEXT_PEER="UNKNOWN_NEXT_PEER",_.TEMPORARY_NODE_FAILURE="TEMPORARY_NODE_FAILURE",_.PERMANENT_NODE_FAILURE="PERMANENT_NODE_FAILURE",_.PERMANENT_CHANNEL_FAILURE="PERMANENT_CHANNEL_FAILURE",_.EXPIRY_TOO_FAR="EXPIRY_TOO_FAR",_.MPP_TIMEOUT="MPP_TIMEOUT",_.INVALID_ONION_PAYLOAD="INVALID_ONION_PAYLOAD",_.INTERNAL_FAILURE="INTERNAL_FAILURE",_.UNKNOWN_FAILURE="UNKNOWN_FAILURE",_.UNREADABLE_FAILURE="UNREADABLE_FAILURE",_.UNRECOGNIZED="UNRECOGNIZED"},4288:(E,e)=>{var _,N,t,O,T,r;Object.defineProperty(e,"__esModule",{value:!0}),e.HtlcEvent_EventType=e.MissionControlConfig_ProbabilityModel=e.ChanStatusAction=e.ResolveHoldForwardAction=e.PaymentState=e.FailureDetail=void 0,(r=e.FailureDetail||(e.FailureDetail={})).UNKNOWN="UNKNOWN",r.NO_DETAIL="NO_DETAIL",r.ONION_DECODE="ONION_DECODE",r.LINK_NOT_ELIGIBLE="LINK_NOT_ELIGIBLE",r.ON_CHAIN_TIMEOUT="ON_CHAIN_TIMEOUT",r.HTLC_EXCEEDS_MAX="HTLC_EXCEEDS_MAX",r.INSUFFICIENT_BALANCE="INSUFFICIENT_BALANCE",r.INCOMPLETE_FORWARD="INCOMPLETE_FORWARD",r.HTLC_ADD_FAILED="HTLC_ADD_FAILED",r.FORWARDS_DISABLED="FORWARDS_DISABLED",r.INVOICE_CANCELED="INVOICE_CANCELED",r.INVOICE_UNDERPAID="INVOICE_UNDERPAID",r.INVOICE_EXPIRY_TOO_SOON="INVOICE_EXPIRY_TOO_SOON",r.INVOICE_NOT_OPEN="INVOICE_NOT_OPEN",r.MPP_INVOICE_TIMEOUT="MPP_INVOICE_TIMEOUT",r.ADDRESS_MISMATCH="ADDRESS_MISMATCH",r.SET_TOTAL_MISMATCH="SET_TOTAL_MISMATCH",r.SET_TOTAL_TOO_LOW="SET_TOTAL_TOO_LOW",r.SET_OVERPAID="SET_OVERPAID",r.UNKNOWN_INVOICE="UNKNOWN_INVOICE",r.INVALID_KEYSEND="INVALID_KEYSEND",r.MPP_IN_PROGRESS="MPP_IN_PROGRESS",r.CIRCULAR_ROUTE="CIRCULAR_ROUTE",r.UNRECOGNIZED="UNRECOGNIZED",(T=e.PaymentState||(e.PaymentState={})).IN_FLIGHT="IN_FLIGHT",T.SUCCEEDED="SUCCEEDED",T.FAILED_TIMEOUT="FAILED_TIMEOUT",T.FAILED_NO_ROUTE="FAILED_NO_ROUTE",T.FAILED_ERROR="FAILED_ERROR",T.FAILED_INCORRECT_PAYMENT_DETAILS="FAILED_INCORRECT_PAYMENT_DETAILS",T.FAILED_INSUFFICIENT_BALANCE="FAILED_INSUFFICIENT_BALANCE",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.ResolveHoldForwardAction||(e.ResolveHoldForwardAction={})).SETTLE="SETTLE",O.FAIL="FAIL",O.RESUME="RESUME",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.ChanStatusAction||(e.ChanStatusAction={})).ENABLE="ENABLE",t.DISABLE="DISABLE",t.AUTO="AUTO",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.MissionControlConfig_ProbabilityModel||(e.MissionControlConfig_ProbabilityModel={})).APRIORI="APRIORI",N.BIMODAL="BIMODAL",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.HtlcEvent_EventType||(e.HtlcEvent_EventType={})).UNKNOWN="UNKNOWN",_.SEND="SEND",_.RECEIVE="RECEIVE",_.FORWARD="FORWARD",_.UNRECOGNIZED="UNRECOGNIZED"},885:(E,e)=>{var _,N;Object.defineProperty(e,"__esModule",{value:!0}),e.MuSig2Version=e.SignMethod=void 0,(N=e.SignMethod||(e.SignMethod={})).SIGN_METHOD_WITNESS_V0="SIGN_METHOD_WITNESS_V0",N.SIGN_METHOD_TAPROOT_KEY_SPEND_BIP0086="SIGN_METHOD_TAPROOT_KEY_SPEND_BIP0086",N.SIGN_METHOD_TAPROOT_KEY_SPEND="SIGN_METHOD_TAPROOT_KEY_SPEND",N.SIGN_METHOD_TAPROOT_SCRIPT_SPEND="SIGN_METHOD_TAPROOT_SCRIPT_SPEND",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.MuSig2Version||(e.MuSig2Version={})).MUSIG2_VERSION_UNDEFINED="MUSIG2_VERSION_UNDEFINED",_.MUSIG2_VERSION_V040="MUSIG2_VERSION_V040",_.MUSIG2_VERSION_V100RC2="MUSIG2_VERSION_V100RC2",_.UNRECOGNIZED="UNRECOGNIZED"},1213:(E,e)=>{var _,N,t;Object.defineProperty(e,"__esModule",{value:!0}),e.ChangeAddressType=e.WitnessType=e.AddressType=void 0,(t=e.AddressType||(e.AddressType={})).UNKNOWN="UNKNOWN",t.WITNESS_PUBKEY_HASH="WITNESS_PUBKEY_HASH",t.NESTED_WITNESS_PUBKEY_HASH="NESTED_WITNESS_PUBKEY_HASH",t.HYBRID_NESTED_WITNESS_PUBKEY_HASH="HYBRID_NESTED_WITNESS_PUBKEY_HASH",t.TAPROOT_PUBKEY="TAPROOT_PUBKEY",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.WitnessType||(e.WitnessType={})).UNKNOWN_WITNESS="UNKNOWN_WITNESS",N.COMMITMENT_TIME_LOCK="COMMITMENT_TIME_LOCK",N.COMMITMENT_NO_DELAY="COMMITMENT_NO_DELAY",N.COMMITMENT_REVOKE="COMMITMENT_REVOKE",N.HTLC_OFFERED_REVOKE="HTLC_OFFERED_REVOKE",N.HTLC_ACCEPTED_REVOKE="HTLC_ACCEPTED_REVOKE",N.HTLC_OFFERED_TIMEOUT_SECOND_LEVEL="HTLC_OFFERED_TIMEOUT_SECOND_LEVEL",N.HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL="HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL",N.HTLC_OFFERED_REMOTE_TIMEOUT="HTLC_OFFERED_REMOTE_TIMEOUT",N.HTLC_ACCEPTED_REMOTE_SUCCESS="HTLC_ACCEPTED_REMOTE_SUCCESS",N.HTLC_SECOND_LEVEL_REVOKE="HTLC_SECOND_LEVEL_REVOKE",N.WITNESS_KEY_HASH="WITNESS_KEY_HASH",N.NESTED_WITNESS_KEY_HASH="NESTED_WITNESS_KEY_HASH",N.COMMITMENT_ANCHOR="COMMITMENT_ANCHOR",N.COMMITMENT_NO_DELAY_TWEAKLESS="COMMITMENT_NO_DELAY_TWEAKLESS",N.COMMITMENT_TO_REMOTE_CONFIRMED="COMMITMENT_TO_REMOTE_CONFIRMED",N.HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED="HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED",N.HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED="HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED",N.LEASE_COMMITMENT_TIME_LOCK="LEASE_COMMITMENT_TIME_LOCK",N.LEASE_COMMITMENT_TO_REMOTE_CONFIRMED="LEASE_COMMITMENT_TO_REMOTE_CONFIRMED",N.LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL="LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL",N.LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL="LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL",N.TAPROOT_PUB_KEY_SPEND="TAPROOT_PUB_KEY_SPEND",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.ChangeAddressType||(e.ChangeAddressType={})).CHANGE_ADDRESS_TYPE_UNSPECIFIED="CHANGE_ADDRESS_TYPE_UNSPECIFIED",_.CHANGE_ADDRESS_TYPE_P2TR="CHANGE_ADDRESS_TYPE_P2TR",_.UNRECOGNIZED="UNRECOGNIZED"},7939:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},2482:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},9921:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.PolicyType=void 0,(_=e.PolicyType||(e.PolicyType={})).LEGACY="LEGACY",_.ANCHOR="ANCHOR",_.UNRECOGNIZED="UNRECOGNIZED"},8452:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(9021),e),t(_(7939),e)},5598:(E,e)=>{var _,N,t,O,T,r,A;Object.defineProperty(e,"__esModule",{value:!0}),e.ListSwapsFilter_SwapTypeFilter=e.AutoReason=e.LiquidityRuleType=e.FailureReason=e.SwapState=e.SwapType=e.AddressType=void 0,(A=e.AddressType||(e.AddressType={})).ADDRESS_TYPE_UNKNOWN="ADDRESS_TYPE_UNKNOWN",A.TAPROOT_PUBKEY="TAPROOT_PUBKEY",A.UNRECOGNIZED="UNRECOGNIZED",(r=e.SwapType||(e.SwapType={})).LOOP_OUT="LOOP_OUT",r.LOOP_IN="LOOP_IN",r.UNRECOGNIZED="UNRECOGNIZED",(T=e.SwapState||(e.SwapState={})).INITIATED="INITIATED",T.PREIMAGE_REVEALED="PREIMAGE_REVEALED",T.HTLC_PUBLISHED="HTLC_PUBLISHED",T.SUCCESS="SUCCESS",T.FAILED="FAILED",T.INVOICE_SETTLED="INVOICE_SETTLED",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.FailureReason||(e.FailureReason={})).FAILURE_REASON_NONE="FAILURE_REASON_NONE",O.FAILURE_REASON_OFFCHAIN="FAILURE_REASON_OFFCHAIN",O.FAILURE_REASON_TIMEOUT="FAILURE_REASON_TIMEOUT",O.FAILURE_REASON_SWEEP_TIMEOUT="FAILURE_REASON_SWEEP_TIMEOUT",O.FAILURE_REASON_INSUFFICIENT_VALUE="FAILURE_REASON_INSUFFICIENT_VALUE",O.FAILURE_REASON_TEMPORARY="FAILURE_REASON_TEMPORARY",O.FAILURE_REASON_INCORRECT_AMOUNT="FAILURE_REASON_INCORRECT_AMOUNT",O.FAILURE_REASON_ABANDONED="FAILURE_REASON_ABANDONED",O.FAILURE_REASON_INSUFFICIENT_CONFIRMED_BALANCE="FAILURE_REASON_INSUFFICIENT_CONFIRMED_BALANCE",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.LiquidityRuleType||(e.LiquidityRuleType={})).UNKNOWN="UNKNOWN",t.THRESHOLD="THRESHOLD",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.AutoReason||(e.AutoReason={})).AUTO_REASON_UNKNOWN="AUTO_REASON_UNKNOWN",N.AUTO_REASON_BUDGET_NOT_STARTED="AUTO_REASON_BUDGET_NOT_STARTED",N.AUTO_REASON_SWEEP_FEES="AUTO_REASON_SWEEP_FEES",N.AUTO_REASON_BUDGET_ELAPSED="AUTO_REASON_BUDGET_ELAPSED",N.AUTO_REASON_IN_FLIGHT="AUTO_REASON_IN_FLIGHT",N.AUTO_REASON_SWAP_FEE="AUTO_REASON_SWAP_FEE",N.AUTO_REASON_MINER_FEE="AUTO_REASON_MINER_FEE",N.AUTO_REASON_PREPAY="AUTO_REASON_PREPAY",N.AUTO_REASON_FAILURE_BACKOFF="AUTO_REASON_FAILURE_BACKOFF",N.AUTO_REASON_LOOP_OUT="AUTO_REASON_LOOP_OUT",N.AUTO_REASON_LOOP_IN="AUTO_REASON_LOOP_IN",N.AUTO_REASON_LIQUIDITY_OK="AUTO_REASON_LIQUIDITY_OK",N.AUTO_REASON_BUDGET_INSUFFICIENT="AUTO_REASON_BUDGET_INSUFFICIENT",N.AUTO_REASON_FEE_INSUFFICIENT="AUTO_REASON_FEE_INSUFFICIENT",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.ListSwapsFilter_SwapTypeFilter||(e.ListSwapsFilter_SwapTypeFilter={})).ANY="ANY",_.LOOP_OUT="LOOP_OUT",_.LOOP_IN="LOOP_IN",_.UNRECOGNIZED="UNRECOGNIZED"},9283:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},9011:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(5598),e),t(_(9283),e)},956:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(800),e)},9927:(E,e)=>{var _,N,t,O,T,r,A,R,I,n,S,C,i,o;Object.defineProperty(e,"__esModule",{value:!0}),e.InvalidOrder_FailReason=e.AccountDiff_AccountState=e.SubscribeError_Error=e.OrderReject_OrderRejectReason=e.OrderMatchReject_RejectReason=e.DurationBucketState=e.OrderState=e.ChannelConfirmationConstraints=e.ChannelAnnouncementConstraints=e.NodeTier=e.AuctionType=e.OrderChannelType=e.AuctionAccountState=e.ChannelType=void 0,(o=e.ChannelType||(e.ChannelType={})).TWEAKLESS="TWEAKLESS",o.ANCHORS="ANCHORS",o.SCRIPT_ENFORCED_LEASE="SCRIPT_ENFORCED_LEASE",o.UNRECOGNIZED="UNRECOGNIZED",(i=e.AuctionAccountState||(e.AuctionAccountState={})).STATE_PENDING_OPEN="STATE_PENDING_OPEN",i.STATE_OPEN="STATE_OPEN",i.STATE_EXPIRED="STATE_EXPIRED",i.STATE_PENDING_UPDATE="STATE_PENDING_UPDATE",i.STATE_CLOSED="STATE_CLOSED",i.STATE_PENDING_BATCH="STATE_PENDING_BATCH",i.STATE_EXPIRED_PENDING_UPDATE="STATE_EXPIRED_PENDING_UPDATE",i.UNRECOGNIZED="UNRECOGNIZED",(C=e.OrderChannelType||(e.OrderChannelType={})).ORDER_CHANNEL_TYPE_UNKNOWN="ORDER_CHANNEL_TYPE_UNKNOWN",C.ORDER_CHANNEL_TYPE_PEER_DEPENDENT="ORDER_CHANNEL_TYPE_PEER_DEPENDENT",C.ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED="ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED",C.UNRECOGNIZED="UNRECOGNIZED",(S=e.AuctionType||(e.AuctionType={})).AUCTION_TYPE_BTC_INBOUND_LIQUIDITY="AUCTION_TYPE_BTC_INBOUND_LIQUIDITY",S.AUCTION_TYPE_BTC_OUTBOUND_LIQUIDITY="AUCTION_TYPE_BTC_OUTBOUND_LIQUIDITY",S.UNRECOGNIZED="UNRECOGNIZED",(n=e.NodeTier||(e.NodeTier={})).TIER_DEFAULT="TIER_DEFAULT",n.TIER_0="TIER_0",n.TIER_1="TIER_1",n.UNRECOGNIZED="UNRECOGNIZED",(I=e.ChannelAnnouncementConstraints||(e.ChannelAnnouncementConstraints={})).ANNOUNCEMENT_NO_PREFERENCE="ANNOUNCEMENT_NO_PREFERENCE",I.ONLY_ANNOUNCED="ONLY_ANNOUNCED",I.ONLY_UNANNOUNCED="ONLY_UNANNOUNCED",I.UNRECOGNIZED="UNRECOGNIZED",(R=e.ChannelConfirmationConstraints||(e.ChannelConfirmationConstraints={})).CONFIRMATION_NO_PREFERENCE="CONFIRMATION_NO_PREFERENCE",R.ONLY_CONFIRMED="ONLY_CONFIRMED",R.ONLY_ZEROCONF="ONLY_ZEROCONF",R.UNRECOGNIZED="UNRECOGNIZED",(A=e.OrderState||(e.OrderState={})).ORDER_SUBMITTED="ORDER_SUBMITTED",A.ORDER_CLEARED="ORDER_CLEARED",A.ORDER_PARTIALLY_FILLED="ORDER_PARTIALLY_FILLED",A.ORDER_EXECUTED="ORDER_EXECUTED",A.ORDER_CANCELED="ORDER_CANCELED",A.ORDER_EXPIRED="ORDER_EXPIRED",A.ORDER_FAILED="ORDER_FAILED",A.UNRECOGNIZED="UNRECOGNIZED",(r=e.DurationBucketState||(e.DurationBucketState={})).NO_MARKET="NO_MARKET",r.MARKET_CLOSED="MARKET_CLOSED",r.ACCEPTING_ORDERS="ACCEPTING_ORDERS",r.MARKET_OPEN="MARKET_OPEN",r.UNRECOGNIZED="UNRECOGNIZED",(T=e.OrderMatchReject_RejectReason||(e.OrderMatchReject_RejectReason={})).UNKNOWN="UNKNOWN",T.SERVER_MISBEHAVIOR="SERVER_MISBEHAVIOR",T.BATCH_VERSION_MISMATCH="BATCH_VERSION_MISMATCH",T.PARTIAL_REJECT="PARTIAL_REJECT",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.OrderReject_OrderRejectReason||(e.OrderReject_OrderRejectReason={})).DUPLICATE_PEER="DUPLICATE_PEER",O.CHANNEL_FUNDING_FAILED="CHANNEL_FUNDING_FAILED",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.SubscribeError_Error||(e.SubscribeError_Error={})).UNKNOWN="UNKNOWN",t.SERVER_SHUTDOWN="SERVER_SHUTDOWN",t.ACCOUNT_DOES_NOT_EXIST="ACCOUNT_DOES_NOT_EXIST",t.INCOMPLETE_ACCOUNT_RESERVATION="INCOMPLETE_ACCOUNT_RESERVATION",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.AccountDiff_AccountState||(e.AccountDiff_AccountState={})).OUTPUT_RECREATED="OUTPUT_RECREATED",N.OUTPUT_DUST_EXTENDED_OFFCHAIN="OUTPUT_DUST_EXTENDED_OFFCHAIN",N.OUTPUT_DUST_ADDED_TO_FEES="OUTPUT_DUST_ADDED_TO_FEES",N.OUTPUT_FULLY_SPENT="OUTPUT_FULLY_SPENT",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.InvalidOrder_FailReason||(e.InvalidOrder_FailReason={})).INVALID_AMT="INVALID_AMT",_.UNRECOGNIZED="UNRECOGNIZED"},3961:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},8456:(E,e)=>{var _,N,t,O;Object.defineProperty(e,"__esModule",{value:!0}),e.MatchRejectReason=e.MatchState=e.AccountState=e.AccountVersion=void 0,(O=e.AccountVersion||(e.AccountVersion={})).ACCOUNT_VERSION_LND_DEPENDENT="ACCOUNT_VERSION_LND_DEPENDENT",O.ACCOUNT_VERSION_LEGACY="ACCOUNT_VERSION_LEGACY",O.ACCOUNT_VERSION_TAPROOT="ACCOUNT_VERSION_TAPROOT",O.ACCOUNT_VERSION_TAPROOT_V2="ACCOUNT_VERSION_TAPROOT_V2",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.AccountState||(e.AccountState={})).PENDING_OPEN="PENDING_OPEN",t.PENDING_UPDATE="PENDING_UPDATE",t.OPEN="OPEN",t.EXPIRED="EXPIRED",t.PENDING_CLOSED="PENDING_CLOSED",t.CLOSED="CLOSED",t.RECOVERY_FAILED="RECOVERY_FAILED",t.PENDING_BATCH="PENDING_BATCH",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.MatchState||(e.MatchState={})).PREPARE="PREPARE",N.ACCEPTED="ACCEPTED",N.REJECTED="REJECTED",N.SIGNED="SIGNED",N.FINALIZED="FINALIZED",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.MatchRejectReason||(e.MatchRejectReason={})).NONE="NONE",_.SERVER_MISBEHAVIOR="SERVER_MISBEHAVIOR",_.BATCH_VERSION_MISMATCH="BATCH_VERSION_MISMATCH",_.PARTIAL_REJECT_COLLATERAL="PARTIAL_REJECT_COLLATERAL",_.PARTIAL_REJECT_DUPLICATE_PEER="PARTIAL_REJECT_DUPLICATE_PEER",_.PARTIAL_REJECT_CHANNEL_FUNDING_FAILED="PARTIAL_REJECT_CHANNEL_FUNDING_FAILED",_.UNRECOGNIZED="UNRECOGNIZED"},3377:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(9927),e),t(_(3961),e),t(_(8456),e)},1226:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(4288),e)},1644:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.subscriptionMethods=e.serviceNames=void 0,e.serviceNames={frdrpc:{FaradayServer:"frdrpc.FaradayServer"},litrpc:{Firewall:"litrpc.Firewall",Autopilot:"litrpc.Autopilot",Sessions:"litrpc.Sessions",Status:"litrpc.Status"},autopilotrpc:{Autopilot:"autopilotrpc.Autopilot"},chainrpc:{ChainNotifier:"chainrpc.ChainNotifier"},invoicesrpc:{Invoices:"invoicesrpc.Invoices"},lnrpc:{Lightning:"lnrpc.Lightning",WalletUnlocker:"lnrpc.WalletUnlocker"},routerrpc:{Router:"routerrpc.Router"},signrpc:{Signer:"signrpc.Signer"},walletrpc:{WalletKit:"walletrpc.WalletKit"},watchtowerrpc:{Watchtower:"watchtowerrpc.Watchtower"},wtclientrpc:{WatchtowerClient:"wtclientrpc.WatchtowerClient"},looprpc:{SwapClient:"looprpc.SwapClient",Debug:"looprpc.Debug"},poolrpc:{ChannelAuctioneer:"poolrpc.ChannelAuctioneer",HashMail:"poolrpc.HashMail",Trader:"poolrpc.Trader"},assetwalletrpc:{AssetWallet:"assetwalletrpc.AssetWallet"},mintrpc:{Mint:"mintrpc.Mint"},taprpc:{TaprootAssets:"taprpc.TaprootAssets"},universerpc:{Universe:"universerpc.Universe"}},e.subscriptionMethods=["chainrpc.ChainNotifier.RegisterConfirmationsNtfn","chainrpc.ChainNotifier.RegisterSpendNtfn","chainrpc.ChainNotifier.RegisterBlockEpochNtfn","invoicesrpc.Invoices.SubscribeSingleInvoice","lnrpc.Lightning.SubscribeTransactions","lnrpc.Lightning.SubscribePeerEvents","lnrpc.Lightning.SubscribeChannelEvents","lnrpc.Lightning.OpenChannel","lnrpc.Lightning.ChannelAcceptor","lnrpc.Lightning.CloseChannel","lnrpc.Lightning.SendPayment","lnrpc.Lightning.SendToRoute","lnrpc.Lightning.SubscribeInvoices","lnrpc.Lightning.SubscribeChannelGraph","lnrpc.Lightning.SubscribeChannelBackups","lnrpc.Lightning.RegisterRPCMiddleware","lnrpc.Lightning.SubscribeCustomMessages","routerrpc.Router.SendPaymentV2","routerrpc.Router.TrackPaymentV2","routerrpc.Router.TrackPayments","routerrpc.Router.SubscribeHtlcEvents","routerrpc.Router.SendPayment","routerrpc.Router.TrackPayment","routerrpc.Router.HtlcInterceptor","looprpc.SwapClient.Monitor","poolrpc.ChannelAuctioneer.SubscribeBatchAuction","poolrpc.ChannelAuctioneer.SubscribeSidecar","poolrpc.HashMail.RecvStream","taprpc.TaprootAssets.SubscribeSendAssetEventNtfns","taprpc.TaprootAssets.SubscribeReceiveAssetEventNtfns"]},1207:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(885),e)},9825:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},800:(E,e)=>{var _;Object.defineProperty(e,"__esModule",{value:!0}),e.BatchState=void 0,(_=e.BatchState||(e.BatchState={})).BATCH_STATE_UNKNOWN="BATCH_STATE_UNKNOWN",_.BATCH_STATE_PENDING="BATCH_STATE_PENDING",_.BATCH_STATE_FROZEN="BATCH_STATE_FROZEN",_.BATCH_STATE_COMMITTED="BATCH_STATE_COMMITTED",_.BATCH_STATE_BROADCAST="BATCH_STATE_BROADCAST",_.BATCH_STATE_CONFIRMED="BATCH_STATE_CONFIRMED",_.BATCH_STATE_FINALIZED="BATCH_STATE_FINALIZED",_.BATCH_STATE_SEEDLING_CANCELLED="BATCH_STATE_SEEDLING_CANCELLED",_.BATCH_STATE_SPROUT_CANCELLED="BATCH_STATE_SPROUT_CANCELLED",_.UNRECOGNIZED="UNRECOGNIZED"},3827:(E,e)=>{var _,N,t,O,T,r;Object.defineProperty(e,"__esModule",{value:!0}),e.ProofTransferType=e.AddrEventStatus=e.OutputType=e.AssetVersion=e.AssetMetaType=e.AssetType=void 0,(r=e.AssetType||(e.AssetType={})).NORMAL="NORMAL",r.COLLECTIBLE="COLLECTIBLE",r.UNRECOGNIZED="UNRECOGNIZED",(T=e.AssetMetaType||(e.AssetMetaType={})).META_TYPE_OPAQUE="META_TYPE_OPAQUE",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.AssetVersion||(e.AssetVersion={})).ASSET_VERSION_V0="ASSET_VERSION_V0",O.ASSET_VERSION_V1="ASSET_VERSION_V1",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.OutputType||(e.OutputType={})).OUTPUT_TYPE_SIMPLE="OUTPUT_TYPE_SIMPLE",t.OUTPUT_TYPE_SPLIT_ROOT="OUTPUT_TYPE_SPLIT_ROOT",t.OUTPUT_TYPE_PASSIVE_ASSETS_ONLY="OUTPUT_TYPE_PASSIVE_ASSETS_ONLY",t.OUTPUT_TYPE_PASSIVE_SPLIT_ROOT="OUTPUT_TYPE_PASSIVE_SPLIT_ROOT",t.OUTPUT_TYPE_SIMPLE_PASSIVE_ASSETS="OUTPUT_TYPE_SIMPLE_PASSIVE_ASSETS",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.AddrEventStatus||(e.AddrEventStatus={})).ADDR_EVENT_STATUS_UNKNOWN="ADDR_EVENT_STATUS_UNKNOWN",N.ADDR_EVENT_STATUS_TRANSACTION_DETECTED="ADDR_EVENT_STATUS_TRANSACTION_DETECTED",N.ADDR_EVENT_STATUS_TRANSACTION_CONFIRMED="ADDR_EVENT_STATUS_TRANSACTION_CONFIRMED",N.ADDR_EVENT_STATUS_PROOF_RECEIVED="ADDR_EVENT_STATUS_PROOF_RECEIVED",N.ADDR_EVENT_STATUS_COMPLETED="ADDR_EVENT_STATUS_COMPLETED",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.ProofTransferType||(e.ProofTransferType={})).PROOF_TRANSFER_TYPE_SEND="PROOF_TRANSFER_TYPE_SEND",_.PROOF_TRANSFER_TYPE_RECEIVE="PROOF_TRANSFER_TYPE_RECEIVE",_.UNRECOGNIZED="UNRECOGNIZED"},4765:(E,e)=>{var _,N,t,O,T;Object.defineProperty(e,"__esModule",{value:!0}),e.AssetTypeFilter=e.SortDirection=e.AssetQuerySort=e.UniverseSyncMode=e.ProofType=void 0,(T=e.ProofType||(e.ProofType={})).PROOF_TYPE_UNSPECIFIED="PROOF_TYPE_UNSPECIFIED",T.PROOF_TYPE_ISSUANCE="PROOF_TYPE_ISSUANCE",T.PROOF_TYPE_TRANSFER="PROOF_TYPE_TRANSFER",T.UNRECOGNIZED="UNRECOGNIZED",(O=e.UniverseSyncMode||(e.UniverseSyncMode={})).SYNC_ISSUANCE_ONLY="SYNC_ISSUANCE_ONLY",O.SYNC_FULL="SYNC_FULL",O.UNRECOGNIZED="UNRECOGNIZED",(t=e.AssetQuerySort||(e.AssetQuerySort={})).SORT_BY_NONE="SORT_BY_NONE",t.SORT_BY_ASSET_NAME="SORT_BY_ASSET_NAME",t.SORT_BY_ASSET_ID="SORT_BY_ASSET_ID",t.SORT_BY_ASSET_TYPE="SORT_BY_ASSET_TYPE",t.SORT_BY_TOTAL_SYNCS="SORT_BY_TOTAL_SYNCS",t.SORT_BY_TOTAL_PROOFS="SORT_BY_TOTAL_PROOFS",t.SORT_BY_GENESIS_HEIGHT="SORT_BY_GENESIS_HEIGHT",t.SORT_BY_TOTAL_SUPPLY="SORT_BY_TOTAL_SUPPLY",t.UNRECOGNIZED="UNRECOGNIZED",(N=e.SortDirection||(e.SortDirection={})).SORT_DIRECTION_ASC="SORT_DIRECTION_ASC",N.SORT_DIRECTION_DESC="SORT_DIRECTION_DESC",N.UNRECOGNIZED="UNRECOGNIZED",(_=e.AssetTypeFilter||(e.AssetTypeFilter={})).FILTER_ASSET_NONE="FILTER_ASSET_NONE",_.FILTER_ASSET_NORMAL="FILTER_ASSET_NORMAL",_.FILTER_ASSET_COLLECTIBLE="FILTER_ASSET_COLLECTIBLE",_.UNRECOGNIZED="UNRECOGNIZED"},4914:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(3827),e)},1877:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(4765),e)},9367:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(1213),e)},6412:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(2482),e)},3946:function(E,e,_){var N=this&&this.__createBinding||(Object.create?function(E,e,_,N){void 0===N&&(N=_),Object.defineProperty(E,N,{enumerable:!0,get:function(){return e[_]}})}:function(E,e,_,N){void 0===N&&(N=_),E[N]=e[_]}),t=this&&this.__exportStar||function(E,e){for(var _ in E)"default"===_||Object.prototype.hasOwnProperty.call(e,_)||N(e,E,_)};Object.defineProperty(e,"__esModule",{value:!0}),t(_(9921),e)},1848:(E,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.camelKeysToSnake=e.snakeKeysToCamel=e.isObject=void 0;var _=function(E){return Array.isArray(E)};e.isObject=function(E){return E===Object(E)&&!_(E)&&"function"!=typeof E},e.snakeKeysToCamel=function(E){if((0,e.isObject)(E)){var N={};return Object.keys(E).forEach((function(_){var t;N[(t=_,t.replace(/([-_][a-z])/gi,(function(E){return E.toUpperCase().replace("-","").replace("_","")})))]=(0,e.snakeKeysToCamel)(E[_])})),N}return _(E)?E.map((function(E){return(0,e.snakeKeysToCamel)(E)})):E},e.camelKeysToSnake=function(E){if((0,e.isObject)(E)){var N={};return Object.keys(E).forEach((function(_){var t;N[(t=_,t.replace(/[A-Z]/g,(function(E){return"_".concat(E.toLowerCase())})))]=(0,e.camelKeysToSnake)(E[_])})),N}return _(E)?E.map((function(E){return(0,e.camelKeysToSnake)(E)})):E}}},e={};return function _(N){var t=e[N];if(void 0!==t)return t.exports;var O=e[N]={exports:{}};return E[N].call(O.exports,O,O.exports,_),O.exports}(8713)})())); |
@@ -26,2 +26,8 @@ export interface SubServerStatusReq { | ||
error: string; | ||
/** | ||
* custom_status details a custom state that the sub-server has entered, | ||
* which is unique to the sub-server, and which is not the standard | ||
* disabled, running or errored state. | ||
*/ | ||
customStatus: string; | ||
} | ||
@@ -28,0 +34,0 @@ /** The Status server can be used to query the state of various LiT sub-servers. */ |
@@ -637,2 +637,8 @@ import type { Utxo, OutPoint, TransactionDetails } from '../lightning'; | ||
verbose: boolean; | ||
/** | ||
* The start height to use when fetching sweeps. If not specified (0), the | ||
* result will start from the earliest sweep. If set to -1 the result will | ||
* only include unconfirmed sweeps (at the time of the call). | ||
*/ | ||
startHeight: number; | ||
} | ||
@@ -639,0 +645,0 @@ export interface ListSweepsResponse { |
@@ -96,2 +96,12 @@ import type { RouteHint } from './swapserverrpc/common'; | ||
FAILURE_REASON_INCORRECT_AMOUNT = "FAILURE_REASON_INCORRECT_AMOUNT", | ||
/** | ||
* FAILURE_REASON_ABANDONED - FAILURE_REASON_ABANDONED indicates that a swap permanently failed because | ||
* the client manually abandoned the swap. | ||
*/ | ||
FAILURE_REASON_ABANDONED = "FAILURE_REASON_ABANDONED", | ||
/** | ||
* FAILURE_REASON_INSUFFICIENT_CONFIRMED_BALANCE - FAILURE_REASON_INSUFFICIENT_CONFIRMED_BALANCE indicates that a swap | ||
* wasn't published due to insufficient confirmed balance. | ||
*/ | ||
FAILURE_REASON_INSUFFICIENT_CONFIRMED_BALANCE = "FAILURE_REASON_INSUFFICIENT_CONFIRMED_BALANCE", | ||
UNRECOGNIZED = "UNRECOGNIZED" | ||
@@ -263,2 +273,8 @@ } | ||
accountAddrType: AddressType; | ||
/** | ||
* A flag indicating whether the defined destination address does not belong to | ||
* the wallet. This is used to flag whether this loop out swap could have its | ||
* associated sweep batched. | ||
*/ | ||
isExternalAddr: boolean; | ||
} | ||
@@ -416,3 +432,26 @@ export interface LoopInRequest { | ||
export interface ListSwapsRequest { | ||
/** Optional filter to only return swaps that match the filter. */ | ||
listSwapFilter: ListSwapsFilter | undefined; | ||
} | ||
export interface ListSwapsFilter { | ||
/** The type of the swap. */ | ||
swapType: ListSwapsFilter_SwapTypeFilter; | ||
/** If set, only pending swaps are returned. */ | ||
pendingOnly: boolean; | ||
/** If specified on creation, the outgoing channel set of the swap. */ | ||
outgoingChanSet: string[]; | ||
/** Label of swap to filter for. */ | ||
label: string; | ||
/** If specified on creation, the last hop of the swap. */ | ||
loopInLastHop: Uint8Array | string; | ||
} | ||
export declare enum ListSwapsFilter_SwapTypeFilter { | ||
/** ANY - ANY indicates that no filter is applied. */ | ||
ANY = "ANY", | ||
/** LOOP_OUT - LOOP_OUT indicates an loop out swap (off-chain to on-chain). */ | ||
LOOP_OUT = "LOOP_OUT", | ||
/** LOOP_IN - LOOP_IN indicates a loop in swap (on-chain to off-chain). */ | ||
LOOP_IN = "LOOP_IN", | ||
UNRECOGNIZED = "UNRECOGNIZED" | ||
} | ||
export interface ListSwapsResponse { | ||
@@ -791,2 +830,37 @@ /** The list of all currently known swaps and their status. */ | ||
} | ||
export interface AbandonSwapRequest { | ||
/** | ||
* The swap identifier which currently is the hash that locks the HTLCs. When | ||
* using REST, this field must be encoded as URL safe base64. | ||
*/ | ||
id: Uint8Array | string; | ||
/** | ||
* A flag that tries to ensure that the client understands that they are | ||
* risking loss of funds by abandoning a swap. This could happen if an | ||
* abandoned swap would wait on a timeout sweep by the client. | ||
*/ | ||
iKnowWhatIAmDoing: boolean; | ||
} | ||
export interface AbandonSwapResponse { | ||
} | ||
export interface ListReservationsRequest { | ||
} | ||
export interface ListReservationsResponse { | ||
/** The list of all currently known reservations and their status. */ | ||
reservations: ClientReservation[]; | ||
} | ||
export interface ClientReservation { | ||
/** The reservation id that identifies this reservation. */ | ||
reservationId: Uint8Array | string; | ||
/** The state the reservation is in. */ | ||
state: string; | ||
/** The amount that the reservation is for. */ | ||
amount: string; | ||
/** The transaction id of the reservation. */ | ||
txId: Uint8Array | string; | ||
/** The vout of the reservation. */ | ||
vout: number; | ||
/** The expiry of the reservation. */ | ||
expiry: number; | ||
} | ||
/** | ||
@@ -830,2 +904,7 @@ * SwapClient is a service that handles the client side process of onchain/offchain | ||
/** | ||
* loop: `abandonswap` | ||
* AbandonSwap allows the client to abandon a swap. | ||
*/ | ||
abandonSwap(request?: DeepPartial<AbandonSwapRequest>): Promise<AbandonSwapResponse>; | ||
/** | ||
* loop: `terms` | ||
@@ -889,2 +968,7 @@ * LoopOutTerms returns the terms that the server enforces for a loop out swap. | ||
suggestSwaps(request?: DeepPartial<SuggestSwapsRequest>): Promise<SuggestSwapsResponse>; | ||
/** | ||
* loop: `listreservations` | ||
* ListReservations returns a list of all reservations the server opened to us. | ||
*/ | ||
listReservations(request?: DeepPartial<ListReservationsRequest>): Promise<ListReservationsResponse>; | ||
} | ||
@@ -891,0 +975,0 @@ declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; |
@@ -1,2 +0,2 @@ | ||
import type { KeyDescriptor, ScriptKey, SendAssetResponse } from '../taprootassets'; | ||
import type { OutPoint, KeyDescriptor, ScriptKey, SendAssetResponse } from '../taprootassets'; | ||
export interface FundVirtualPsbtRequest { | ||
@@ -53,8 +53,2 @@ /** | ||
} | ||
export interface OutPoint { | ||
/** Raw bytes representing the transaction id. */ | ||
txid: Uint8Array | string; | ||
/** The index of the output on the transaction. */ | ||
outputIndex: number; | ||
} | ||
export interface SignVirtualPsbtRequest { | ||
@@ -96,2 +90,3 @@ /** | ||
scriptKey: Uint8Array | string; | ||
outpoint: OutPoint | undefined; | ||
} | ||
@@ -148,2 +143,3 @@ export interface ProveAssetOwnershipResponse { | ||
/** | ||
* tapcli: `proofs proveownership` | ||
* ProveAssetOwnership creates an ownership proof embedded in an asset | ||
@@ -156,2 +152,3 @@ * transition proof. That ownership proof is a signed virtual transaction | ||
/** | ||
* tapcli: `proofs verifyownership` | ||
* VerifyAssetOwnership verifies the asset ownership proof embedded in the | ||
@@ -158,0 +155,0 @@ * given transition proof of an asset and returns true if the proof is valid. |
@@ -1,5 +0,5 @@ | ||
import type { AssetType, AssetVersion, AssetMeta } from '../taprootassets'; | ||
import type { AssetVersion, AssetType, AssetMeta } from '../taprootassets'; | ||
export declare enum BatchState { | ||
BATCH_STATE_UNKNOWN = "BATCH_STATE_UNKNOWN", | ||
BATCH_STATE_PEDNING = "BATCH_STATE_PEDNING", | ||
BATCH_STATE_PENDING = "BATCH_STATE_PENDING", | ||
BATCH_STATE_FROZEN = "BATCH_STATE_FROZEN", | ||
@@ -14,3 +14,5 @@ BATCH_STATE_COMMITTED = "BATCH_STATE_COMMITTED", | ||
} | ||
export interface MintAsset { | ||
export interface PendingAsset { | ||
/** The version of asset to mint. */ | ||
assetVersion: AssetVersion; | ||
/** The type of the asset to be created. */ | ||
@@ -30,2 +32,7 @@ assetType: AssetType; | ||
amount: string; | ||
/** | ||
* If true, then the asset will be created with a new group key, which allows | ||
* for future asset issuance. | ||
*/ | ||
newGroupedAsset: boolean; | ||
/** The specific group key this asset should be minted with. */ | ||
@@ -38,4 +45,37 @@ groupKey: Uint8Array | string; | ||
groupAnchor: string; | ||
} | ||
export interface MintAsset { | ||
/** The version of asset to mint. */ | ||
assetVersion: AssetVersion; | ||
/** The type of the asset to be created. */ | ||
assetType: AssetType; | ||
/** The name, or "tag" of the asset. This will affect the final asset ID. */ | ||
name: string; | ||
/** | ||
* A blob that resents metadata related to the asset. This will affect the | ||
* final asset ID. | ||
*/ | ||
assetMeta: AssetMeta | undefined; | ||
/** | ||
* The total amount of units of the new asset that should be created. If the | ||
* AssetType is Collectible, then this field cannot be set. | ||
*/ | ||
amount: string; | ||
/** | ||
* If true, then the asset will be created with a group key, which allows for | ||
* future asset issuance. | ||
*/ | ||
newGroupedAsset: boolean; | ||
/** | ||
* If true, then a group key or group anchor can be set to mint this asset into | ||
* an existing asset group. | ||
*/ | ||
groupedAsset: boolean; | ||
/** The specific group key this asset should be minted with. */ | ||
groupKey: Uint8Array | string; | ||
/** | ||
* The name of the asset in the batch that will anchor a new asset group. | ||
* This asset will be minted with the same group key as the anchor asset. | ||
*/ | ||
groupAnchor: string; | ||
} | ||
@@ -46,7 +86,2 @@ export interface MintAssetRequest { | ||
/** | ||
* If true, then the asset will be created with a group key, which allows for | ||
* future asset issuance. | ||
*/ | ||
enableEmission: boolean; | ||
/** | ||
* If true, then the assets currently in the batch won't be returned in the | ||
@@ -69,6 +104,11 @@ * response. This is mainly to avoid a lot of data being transmitted and | ||
batchKey: Uint8Array | string; | ||
/** The assets that are part of the batch. */ | ||
assets: MintAsset[]; | ||
/** | ||
* The transaction ID of the batch. Only populated if the batch has been | ||
* committed. | ||
*/ | ||
batchTxid: string; | ||
/** The state of the batch. */ | ||
state: BatchState; | ||
/** The assets that are part of the batch. */ | ||
assets: PendingAsset[]; | ||
} | ||
@@ -75,0 +115,0 @@ export interface FinalizeBatchRequest { |
@@ -82,2 +82,21 @@ export declare enum AssetType { | ||
} | ||
/** | ||
* ProofTransferType is the type of proof transfer attempt. The transfer is | ||
* either a proof delivery to the transfer counterparty or receiving a proof | ||
* from the transfer counterparty. Note that the transfer counterparty is | ||
* usually the proof courier service. | ||
*/ | ||
export declare enum ProofTransferType { | ||
/** | ||
* PROOF_TRANSFER_TYPE_SEND - This value indicates that the proof transfer attempt is a delivery to the | ||
* transfer counterparty. | ||
*/ | ||
PROOF_TRANSFER_TYPE_SEND = "PROOF_TRANSFER_TYPE_SEND", | ||
/** | ||
* PROOF_TRANSFER_TYPE_RECEIVE - This value indicates that the proof transfer attempt is a receive from | ||
* the transfer counterparty. | ||
*/ | ||
PROOF_TRANSFER_TYPE_RECEIVE = "PROOF_TRANSFER_TYPE_RECEIVE", | ||
UNRECOGNIZED = "UNRECOGNIZED" | ||
} | ||
export interface AssetMeta { | ||
@@ -109,4 +128,2 @@ /** | ||
anchorTx: Uint8Array | string; | ||
/** The txid of the above transaction. */ | ||
anchorTxid: string; | ||
/** The block hash the contains the anchor transaction above. */ | ||
@@ -142,2 +159,4 @@ anchorBlockHash: string; | ||
assetId: Uint8Array | string; | ||
/** The type of the asset. */ | ||
assetType: AssetType; | ||
/** | ||
@@ -174,4 +193,2 @@ * The index of the output that carries the unique Taproot Asset commitment in | ||
genesisBaseReveal: GenesisInfo | undefined; | ||
/** The asset type, not included in the base genesis info. */ | ||
assetType: AssetType; | ||
} | ||
@@ -183,4 +200,2 @@ export interface Asset { | ||
assetGenesis: GenesisInfo | undefined; | ||
/** The type of the asset. */ | ||
assetType: AssetType; | ||
/** The total amount of the asset stored in this Taproot Asset UTXO. */ | ||
@@ -320,4 +335,2 @@ amount: string; | ||
assetGenesis: GenesisInfo | undefined; | ||
/** The type of the asset. */ | ||
assetType: AssetType; | ||
/** The balance of the asset owned by the target daemon. */ | ||
@@ -644,2 +657,3 @@ balance: string; | ||
scriptKey: Uint8Array | string; | ||
outpoint: OutPoint | undefined; | ||
} | ||
@@ -716,6 +730,6 @@ export interface AddrEvent { | ||
/** | ||
* An event which indicates that the proof send backoff wait period will | ||
* start imminently. | ||
* An event which indicates that the proof transfer backoff wait period | ||
* will start imminently. | ||
*/ | ||
receiverProofBackoffWaitEvent: ReceiverProofBackoffWaitEvent | undefined; | ||
proofTransferBackoffWaitEvent: ProofTransferBackoffWaitEvent | undefined; | ||
} | ||
@@ -728,3 +742,3 @@ export interface ExecuteSendStateEvent { | ||
} | ||
export interface ReceiverProofBackoffWaitEvent { | ||
export interface ProofTransferBackoffWaitEvent { | ||
/** Transfer attempt timestamp (microseconds). */ | ||
@@ -740,3 +754,24 @@ timestamp: string; | ||
triesCounter: string; | ||
/** The type of proof transfer attempt. */ | ||
transferType: ProofTransferType; | ||
} | ||
export interface SubscribeReceiveAssetEventNtfnsRequest { | ||
} | ||
export interface AssetReceiveCompleteEvent { | ||
/** Event creation timestamp. */ | ||
timestamp: string; | ||
/** The address that received the asset. */ | ||
address: Addr | undefined; | ||
/** The outpoint of the transaction that was used to receive the asset. */ | ||
outpoint: string; | ||
} | ||
export interface ReceiveAssetEvent { | ||
/** | ||
* An event which indicates that the proof transfer backoff wait period | ||
* will start imminently. | ||
*/ | ||
proofTransferBackoffWaitEvent: ProofTransferBackoffWaitEvent | undefined; | ||
/** An event which indicates that an asset receive process has finished. */ | ||
assetReceiveCompleteEvent: AssetReceiveCompleteEvent | undefined; | ||
} | ||
export interface FetchAssetMetaRequest { | ||
@@ -771,2 +806,8 @@ /** The asset ID of the asset to fetch the meta for. */ | ||
} | ||
export interface OutPoint { | ||
/** Raw bytes representing the transaction id. */ | ||
txid: Uint8Array | string; | ||
/** The index of the output on the transaction. */ | ||
outputIndex: number; | ||
} | ||
export interface TaprootAssets { | ||
@@ -883,2 +924,8 @@ /** | ||
/** | ||
* SubscribeReceiveAssetEventNtfns registers a subscription to the event | ||
* notification stream which relates to the asset receive process. | ||
*/ | ||
subscribeReceiveAssetEventNtfns(request?: DeepPartial<SubscribeReceiveAssetEventNtfnsRequest>, onMessage?: (msg: ReceiveAssetEvent) => void, onError?: (err: Error) => void): void; | ||
/** | ||
* tapcli: `assets meta` | ||
* FetchAssetMeta allows a caller to fetch the reveal meta data for an asset | ||
@@ -885,0 +932,0 @@ * either by the asset ID for that asset, or a meta hash. |
@@ -43,4 +43,14 @@ import type { AssetType, Asset } from '../taprootassets'; | ||
} | ||
/** TODO(roasbeef): filter by asset ID, etc? */ | ||
export interface AssetRootRequest { | ||
/** | ||
* If true, then the response will include the amounts for each asset ID | ||
* of grouped assets. | ||
*/ | ||
withAmountsById: boolean; | ||
/** The offset for the page. */ | ||
offset: number; | ||
/** The length limit for the page. */ | ||
limit: number; | ||
/** The direction of the page. */ | ||
direction: SortDirection; | ||
} | ||
@@ -138,2 +148,12 @@ export interface MerkleSumNode { | ||
} | ||
export interface AssetLeafKeysRequest { | ||
/** The ID of the asset to query for. */ | ||
id: ID | undefined; | ||
/** The offset for the page. */ | ||
offset: number; | ||
/** The length limit for the page. */ | ||
limit: number; | ||
/** The direction of the page. */ | ||
direction: SortDirection; | ||
} | ||
export interface AssetLeafKeyResponse { | ||
@@ -147,7 +167,7 @@ /** The set of asset leaf keys for the given asset ID or group key. */ | ||
/** | ||
* The asset issuance proof, which proves that the asset specified above | ||
* was issued properly. This is always just an individual mint/transfer | ||
* proof and never a proof file. | ||
* The asset issuance or transfer proof, which proves that the asset | ||
* specified above was issued or transferred properly. This is always just | ||
* an individual mint/transfer proof and never a proof file. | ||
*/ | ||
issuanceProof: Uint8Array | string; | ||
proof: Uint8Array | string; | ||
} | ||
@@ -202,4 +222,2 @@ export interface AssetLeafResponse { | ||
runtimeId: string; | ||
/** The number of assets known to this Universe server. */ | ||
numAssets: string; | ||
} | ||
@@ -311,2 +329,3 @@ export interface SyncTarget { | ||
genesisTimestamp: string; | ||
anchorPoint: string; | ||
} | ||
@@ -406,3 +425,3 @@ export interface UniverseAssetStats { | ||
* asset_id or group_key. Each key takes the form: (outpoint, script_key), | ||
* where outpoint is an outpoint in the Bitcoin blockcahin that anchors a | ||
* where outpoint is an outpoint in the Bitcoin blockchain that anchors a | ||
* valid Taproot Asset commitment, and script_key is the script_key of | ||
@@ -412,3 +431,3 @@ * the asset within the Taproot Asset commitment for the given asset_id or | ||
*/ | ||
assetLeafKeys(request?: DeepPartial<ID>): Promise<AssetLeafKeyResponse>; | ||
assetLeafKeys(request?: DeepPartial<AssetLeafKeysRequest>): Promise<AssetLeafKeyResponse>; | ||
/** | ||
@@ -502,2 +521,3 @@ * tapcli: `universe leaves` | ||
/** | ||
* tapcli: `universe federation config info` | ||
* QueryFederationSyncConfig queries the universe federation sync configuration | ||
@@ -504,0 +524,0 @@ * settings. |
{ | ||
"name": "@lightninglabs/lnc-core", | ||
"version": "0.3.0-alpha", | ||
"version": "0.3.1-alpha", | ||
"description": "Type definitions and utilities for Lightning Node Connect", | ||
@@ -8,8 +8,8 @@ "main": "./dist/index.js", | ||
"config": { | ||
"lnd_release_tag": "v0.17.0-beta", | ||
"loop_release_tag": "v0.26.4-beta", | ||
"lnd_release_tag": "v0.17.4-beta", | ||
"loop_release_tag": "v0.27.0-beta", | ||
"pool_release_tag": "v0.6.4-beta", | ||
"faraday_release_tag": "v0.2.11-alpha", | ||
"tapd_release_tag": "v0.3.0", | ||
"lit_release_tag": "v0.12.0-alpha", | ||
"tapd_release_tag": "v0.3.3", | ||
"lit_release_tag": "v0.12.3-alpha", | ||
"protoc_version": "21.9" | ||
@@ -16,0 +16,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
816215
14305