Skip to main content

Crate signet_orders

Crate signet_orders 

Source
Expand description

Signet Orders Library

Contains utilities for placing and filling orders on Signet.

Modules§

permit2
Permit2 nonce bitmap utilities for checking order fill status.

Structs§

FeePolicySubmitter
A FillSubmitter that wraps a BundleSubmitter and handles fee policy.
Filler
Fills orders by fetching from a source, signing fills, and submitting them.
FillerOptions
Options for configuring the Filler.
OrderSender
Sends signed orders to a backend.
OrdersAndFills
A small struct to ensure the relevant orders remain paired with the fills generated from them and with the signer’s address.

Enums§

FeePolicyError
Errors returned by FeePolicySubmitter.
FillerError
Errors returned by Filler.
OrderSenderError
Errors returned by OrderSender.
PreflightError
Errors that can occur during preflight validation.

Traits§

BundleSubmitter
A trait for submitting bundles to a backend.
FillSubmitter
A trait for submitting signed fills to a backend.
OrderSource
A trait for fetching orders from a source.
OrderSubmitter
A trait for submitting signed orders to a backend.
Permit2Ext
Extension trait that adds Permit2 preflight validation to any Provider.
TxBuilder
A provider that can fill transactions.