This commit is contained in:
swrup 2026-02-05 15:31:49 +01:00
parent 5eba5f2265
commit 5d2919da19
17 changed files with 333 additions and 319 deletions

View file

@ -6,6 +6,7 @@ a="tmp_a.json"
b="tmp_b.json"
auditor_pub=$(<"./data/auditor_public_key")
zero_euro="EUR:0.0"
dune exec offline -- download --output $a
dune exec offline -- sign --input $a --output $b
@ -16,28 +17,28 @@ dune exec offline -- enable-auditor \
--auditor_url "auditor.example.com" \
--auditor_name "auditor example" \
--auditor_pub $auditor_pub \
--validity_start "0.0"
--validity_start 0
dune exec offline -- upload --input $b --url "/management/auditors"
dune exec offline -- wire-fee \
--output $b \
--wire_method "magic" \
--fee_start "0.0" \
--fee_end "99999999.9" \
--closing_fee "EUR:0.0" \
--wire_fee "EUR:0.0"
--fee_start 0 \
--fee_end 99999999 \
--closing_fee $zero_euro \
--wire_fee $zero_euro
dune exec offline -- upload --input $b --url "/management/wire-fee"
dune exec offline -- global-fees \
--output $b \
--start_date "0.0" \
--end_date "99999999.9" \
--history_fee "EUR:0.0" \
--account_fee "EUR:0.0" \
--purse_fee "EUR:0.0" \
--history_expiration "9999999.0" \
--start_date 0 \
--end_date 99999999 \
--history_fee $zero_euro \
--account_fee $zero_euro \
--purse_fee $zero_euro \
--history_expiration 9999999 \
--purse_account_limit 1 \
--purse_timeout "9999999.0"
--purse_timeout 9999999
dune exec offline -- upload --input $b --url "/management/global-fees"
rm $a