# Functions

DecodeAssetOutput deserializes a AssetOutput from the given blob.
DecodeAssetSig deserializes a AssetSig from the given blob.
DecodeAssetSigListRecord deserializes a AssetSigListRecord from the given blob.
DecodeAuxLeaves deserializes an OpenChannel from the given blob.
DecodeAuxShutdownMsg deserializes a AuxShutdownMsg from the given blob.
DecodeCommitment deserializes a Commitment from the given blob.
DecodeCommitSig deserializes a CommitSig from the given blob.
DecodeHtlcAuxLeaf deserializes a HtlcAuxLeaf from the given blob.
DecodeOpenChannel deserializes an OpenChannel from the given blob.
NewAssetFundingAck creates a new AssetFundingAck message.
NewAssetFundingCreated creates a new AssetFundingCreated message.
NewAssetOutput creates a new AssetOutput record with the given asset ID, amount, and proof.
NewAssetSig creates a new AssetSig record with the given asset ID and partial sig.
NewAuxLeaves creates a new AuxLeaves record with the given local, remote, incoming, and outgoing auxiliary leaves.
NewAuxShutdownMsg creates a new AuxShutdownMsg with the given internal key and script key map.
NewCommitment creates a new Commitment record with the given local and remote assets, and incoming and outgoing HTLCs.
NewCommitSig creates a new CommitSig record with the given partial Sigs.
NewContractResolution creates a new ContractResolution with the given list of vpkts.
NewHtlcAssetOutput creates a new HtlcAssetOutput record with the given HTLC outputs.
NewHtlcAuxLeaf creates a new HtlcAuxLeaf record with the given funded assets.
NewHtlcAuxLeafMapRecord creates a new HtlcAuxLeafMapRecord record with the given HTLC aux leaves.
NewOpenChannel creates a new OpenChannel record with the given funded assets.
NewTxAssetInputProof creates a new TxAssetInputProof message.
NewTxAssetOutputProof creates a new TxAssetOutputProof message.
NewVpktList creates a new VpktList record with the given list of vPkts.
OutputSum returns the sum of the amounts of all the asset outputs in the list.
ParseCustomChannelData parses the custom channel data in the given lnd RPC message and converts it to JSON, replacing it inline.
ReadBalanceCustomData reads the content of a BalanceCustomData struct from a byte slice.
ReadChannelCustomData reads the content of a ChannelCustomData struct from a byte slice.
ReadCommitment reads the content of a Commitment struct from a reader.
ReadOpenChannel reads the content of an OpenChannel struct from a reader.

# Constants

AssetFundingAckType is the message type of the AssetFundingAck message.
AssetFundingCreatedType is the message type of the AssetFundingCreated message.
MaxNumHTLCs is the maximum number of HTLCs that are allowed in a single record.
MaxNumOutputs is the maximum number of asset outputs that are allowed in a single record.
OutputMaxSize is the maximum size of an asset output record.
TapChannelMessageTypeOffset is the offset that is added to the type of each message type related to Taproot Asset channel funding.
TapMessageTypeBaseOffset is the Taproot Assets specific message type identifier base offset.
TxAssetInputProofType is the message type of the TxAssetInput message.
TxAssetOutputProofType is the message type of the TxAssetOutput message.

# Variables

ErrListInvalid is the error that's returned when a list of encoded entries is invalid.

# Structs

AssetFundingAck is sent by the responder of the funding flow after they've received the funding input and output proofs.
AssetFundingCreated is sent by the initiator of the funding flow after they've able to fully finalize the funding transaction.
AssetOutput is a record that represents a single asset UTXO.
AssetOutputListRecord is a record that represents a list of asset outputs.
AssetSig is a record that represents the signature for spending an asset output.
AssetSigListRecord is a record that represents a list of asset signatures.
AuxLeaves is a record that represents the auxiliary leaves that correspond to a commitment.
AuxShutdownMsg contains the additional records to be sent along with the shutdown message for co-op closes for an asset channel.
BalanceCustomData represents the data that is returned in the CustomChannelData field of a lnrpc.ChannelBalanceResponse object.
ChannelCustomData represents the data that is returned in the CustomChannelData field of a lnrpc.Channel object.
Commitment is a record that represents the current state of a commitment.
CommitSig is a record that represents the commitment signatures for a certain commit height.
ContractResolution houses all the information we need to resolve a contract on chain.
HtlcAssetOutput is a record that represents a list of asset outputs that are associated with a particular HTLC index.
HtlcAuxLeaf is a record that represents the auxiliary leaf of an HTLC and the optional second level leaf.
HtlcAuxLeafMapRecord is a record that represents a map of HTLC indices to HtlcAuxLeaf records.
HtlcPartialSigsRecord is a record that represents a map of HTLC indices to partial signatures (with nonce).
OpenChannel is a record that represents the capacity information related to a commitment.
TapLeafRecord is a record that represents a TapLeaf.
TxAssetInputProof is sent by the initiator of a channel funding request to prove to the upcoming responder that they are the owner of an asset input.
TxAssetOutputProof is sent by the initiator of the funding request *after* the inputs proofs.
VpktList is a record that represents a list of vPkts.

# Interfaces

AssetFundingMsg is an interface that represents a message that is sent during the asset funding process.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ScriptKeyMap is a map of asset IDs to script keys.
No description provided by the author