added the pool deposit menu node

This commit is contained in:
Alfred Kamanda 2026-02-06 14:05:54 +03:00
parent 916ac11585
commit 7f2467873f
Signed by: Alfred-mk
GPG Key ID: E60B2165A97F4D41
3 changed files with 21 additions and 4 deletions

View File

@ -3,14 +3,16 @@ RELOAD calc_credit_debt
CATCH api_failure flag_api_call_error 1
MAP calc_credit_debt
MOUT pay_debt 1
MOUT get_mpesa 2
MOUT send_mpesa 3
MOUT deposit 2
MOUT get_mpesa 3
MOUT send_mpesa 4
MOUT back 0
MOUT quit 9
HALT
INCMP ^ 0
INCMP pay_debt 1
INCMP get_mpesa 2
INCMP send_mpesa 3
INCMP pool_deposit 2
INCMP get_mpesa 3
INCMP send_mpesa 4
INCMP quit 9
INCMP . *

View File

@ -0,0 +1 @@
{{.get_pool_deposit_vouchers}}

View File

@ -0,0 +1,14 @@
CATCH no_voucher flag_no_active_voucher 1
CATCH no_stable_voucher flag_no_pay_debt_vouchers 1
LOAD get_pool_deposit_vouchers 0
MAP get_pool_deposit_vouchers
MOUT back 0
MOUT quit 99
MNEXT next 88
MPREV prev 98
HALT
INCMP > 88
INCMP < 98
INCMP _ 0
INCMP quit 99
INCMP pool_deposit_amount *