wip wire-fee & global-fees

This commit is contained in:
swrup 2025-12-11 05:41:32 +01:00
parent af09c697b8
commit 9b54747833
5 changed files with 214 additions and 6 deletions

View file

@ -572,8 +572,8 @@ module WireFeeSetupMessage = struct
Signature using the exchange's offline key
with purpose TALER_SIGNATURE_MASTER_WIRE_FEES *)
master_sig_wire: MasterWireFee.t;
fee_start: Amount.t;
fee_end: Amount.t;
fee_start: Timestamp.t;
fee_end: Timestamp.t;
closing_fee: Amount.t;
wire_fee: Amount.t;
}
@ -599,8 +599,8 @@ module WireFeeSetupMessage = struct
map ~kind:"WireFeeSetupMessage" make
|> mem "wire_method" Jsont.string ~enc:wire_method
|> mem "master_sig_wire" MasterWireFee.jsont ~enc:master_sig_wire
|> mem "fee_start" Amount.jsont ~enc:fee_start
|> mem "fee_end" Amount.jsont ~enc:fee_end
|> mem "fee_start" Timestamp.jsont ~enc:fee_start
|> mem "fee_end" Timestamp.jsont ~enc:fee_end
|> mem "closing_fee" Amount.jsont ~enc:closing_fee
|> mem "wire_fee" Amount.jsont ~enc:wire_fee
|> finish