fedimint_ln_common

Module contracts

Source

Modules§

incoming
outgoing

Structs§

ContractId
The hash of a LN incoming contract
EncryptedPreimage
Threshold-encrypted Preimage
OutgoingContractOutcome
Preimage
PreimageDecryptionShare
Share to decrypt an EncryptedPreimage
PreimageKey

Enums§

Contract
A contract before execution as found in transaction outputs
ContractOutcome
Outcome of a contract. Only incoming contracts currently need to communicate anything back to the user (the decrypted preimage).
DecryptedPreimage
Possible outcomes of preimage decryption
DecryptedPreimageStatus
Current status of preimage decryption
FundedContract
A contract after execution as saved in the database

Traits§

IdentifiableContract
Anything representing a contract which thus has an associated ContractId