Skip to main content

Module contracts

Module contracts 

Source

Structs§

Commitment
IncomingContract
OutgoingContract

Enums§

PaymentImage

Functions§

fee_encoded_expiration
Encode a gateway fee into an incoming-contract expiration.
fee_from_expiration
Recover the gateway fee from an incoming-contract expiration created with fee_encoded_expiration.
verify_preimage 🔒