Module contract

Module contract 

Source
Expand description

Module containing structures and functions related to contracts.

Modules§

accepted_contract
AcceptedContract
contract_info
#ContractInfo
contract_input
#ContractInput
enum_descriptor
#EnumDescriptor
numerical_descriptor
#NumericalDescriptor
offered_contract
#OfferedContract
ser
Serialization trait implementations for various data structures enabling them to be converted to byte arrays.
signed_contract
#SignedContract

Structs§

ClosedContract
Information about a contract that was closed by a CET that was confirmed on the blockchain.
FailedAcceptContract
Information about a contract that failed while verifying an accept message.
FailedSignContract
Information about a contract that failed while verifying a sign message.
PreClosedContract
Information about a contract that is almost closed by a broadcasted, but not confirmed CET.

Enums§

AdaptorInfo
Information about the adaptor signatures and the CET for which they are valid.
Contract
Enum representing the possible states of a DLC.
ContractDescriptor
The descriptor of a contract.