Structs§
- Board
Fees - Fees for boarding the ark.
- FeeSchedule
- Complete fee schedule for all operations.
- Lightning
Receive Fees - Fees for lightning receive operations.
- Lightning
Send Fees - Fees for lightning send operations.
- Offboard
Fees - Fees for offboarding from the ark.
- PpmExpiry
FeeEntry - Entry in a table to calculate the PPM (parts per million) fee rate of a transaction based on how new a VTXO is.
- PpmFee
Rate - Refresh
Fees - Fees for refresh operations.
- Vtxo
FeeInfo - A very basic struct to hold information for use in calculating the fees of transactions.
Enums§
- FeeSchedule
Validation Error - Error types for fee schedule validation.
- FeeValidation
Error - Error types for fee validation.
Functions§
- calc_
ppm_ expiry_ fee - Calculates the total fee based on the provided fee-chargeable amount, a table of PPM (Parts Per Million) expiry-based fee rates, and an iterable list of VTXO information.
- validate_
and_ subtract_ fee - Validates fee amounts and calculates the resulting amount after fee.
- validate_
and_ subtract_ fee_ min_ dust - Validates fee amounts and calculates the resulting amount after fee.