retrieve transaction data and display the PIN page

This commit is contained in:
2024-08-20 16:25:57 +03:00
parent 59ff44214d
commit 1964623daa
6 changed files with 115 additions and 12 deletions

View File

@@ -3,4 +3,7 @@ MAP max_amount
MOUT back 0
HALT
INCMP ^ 0
INCMP quit *
LOAD validate_amount 0
LOAD get_recipient 12
LOAD get_sender 64
MOVE transaction_pin

View File

@@ -3,3 +3,4 @@ MOUT kiswahili 1
HALT
INCMP terms 0
INCMP terms 1
INCMP . *

View File

@@ -0,0 +1,2 @@
{{.get_recipient}} will receive {{.validate_amount}} from {{.get_sender}}
Please enter your PIN to confirm:

View File

@@ -0,0 +1,11 @@
RELOAD validate_amount
MAP validate_amount
RELOAD get_recipient
MAP get_recipient
RELOAD get_sender
MAP get_sender
MOUT back 0
MOUT quit 9
HALT
INCMP ^ 0
INCMP quit 9

View File

@@ -0,0 +1,2 @@
{{.get_recipient}} atapokea {{.validate_amount}} kutoka kwa {{.get_sender}}
Tafadhali weka PIN yako kudhibitisha: