Renamed the flags

This commit is contained in:
Alfred Kamanda 2024-08-31 12:58:48 +03:00
parent 42ab2dd577
commit 143c9b14a1
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703
15 changed files with 43 additions and 43 deletions

View File

@ -1,4 +1,4 @@
RELOAD verify_pin RELOAD verify_pin
CATCH create_pin_mismatch pin_mismatch_flag 1 CATCH create_pin_mismatch flag_pin_mismatch 1
LOAD quit 0 LOAD quit 0
HALT HALT

View File

@ -1,3 +1,3 @@
RELOAD check_account_status RELOAD check_account_status
CATCH main account_success_flag 1 CATCH main flag_account_success 1
HALT HALT

View File

@ -5,7 +5,7 @@ MOUT back 0
HALT HALT
LOAD validate_amount 64 LOAD validate_amount 64
RELOAD validate_amount RELOAD validate_amount
CATCH invalid_amount invalid_amount_flag 1 CATCH invalid_amount flag_invalid_amount 1
INCMP _ 0 INCMP _ 0
LOAD get_recipient 12 LOAD get_recipient 12
LOAD get_sender 64 LOAD get_sender 64

View File

@ -1,5 +1,5 @@
LOAD reset_incorrect 0 LOAD reset_incorrect 0
CATCH incorrect_pin incorrect_pin_flag 1 CATCH incorrect_pin flag_incorrect_pin 1
CATCH pin_entry account_authorized_flag 0 CATCH pin_entry flag_account_authorized 0
LOAD quit_with_balance 0 LOAD quit_with_balance 0
HALT HALT

View File

@ -1,9 +1,9 @@
LOAD create_account 0 LOAD create_account 0
CATCH account_creation_failed account_creation_failed_flag 1 CATCH account_creation_failed flag_account_creation_failed 1
MOUT exit 0 MOUT exit 0
HALT HALT
LOAD save_pin 0 LOAD save_pin 0
RELOAD save_pin RELOAD save_pin
CATCH . incorrect_pin_flag 1 CATCH . flag_incorrect_pin 1
INCMP quit 0 INCMP quit 0
INCMP confirm_create_pin * INCMP confirm_create_pin *

View File

@ -1,9 +1,9 @@
CATCH incorrect_date_format incorrect_date_format_flag 1 CATCH incorrect_date_format flag_incorrect_date_format 1
LOAD save_yob 0 LOAD save_yob 0
CATCH update_success allow_update_flag 1 CATCH update_success flag_allow_update 1
MOUT back 0 MOUT back 0
HALT HALT
INCMP _ 0 INCMP _ 0
LOAD save_location 0 LOAD save_location 0
CATCH pin_entry single_edit_flag 1 CATCH pin_entry flag_single_edit 1
INCMP enter_offerings * INCMP enter_offerings *

View File

@ -1,6 +1,6 @@
LOAD save_location 0 LOAD save_location 0
CATCH incorrect_pin incorrect_pin_flag 1 CATCH incorrect_pin flag_incorrect_pin 1
CATCH update_success allow_update_flag 1 CATCH update_success flag_allow_update 1
MOUT back 0 MOUT back 0
HALT HALT
LOAD save_offerings 0 LOAD save_offerings 0

View File

@ -1,9 +1,9 @@
LOAD save_gender 0 LOAD save_gender 0
CATCH update_success allow_update_flag 1 CATCH update_success flag_allow_update 1
MOUT back 0 MOUT back 0
HALT HALT
INCMP _ 0 INCMP _ 0
LOAD verify_yob 8 LOAD verify_yob 8
LOAD save_yob 0 LOAD save_yob 0
CATCH pin_entry single_edit_flag 1 CATCH pin_entry flag_single_edit 1
INCMP enter_location * INCMP enter_location *

View File

@ -1,5 +1,5 @@
LOAD reset_incorrect 0 LOAD reset_incorrect 0
CATCH incorrect_pin incorrect_pin_flag 1 CATCH incorrect_pin flag_incorrect_pin 1
CATCH pin_entry account_authorized_flag 0 CATCH pin_entry flag_account_authorized 0
LOAD quit_with_balance 0 LOAD quit_with_balance 0
HALT HALT

View File

@ -1,16 +1,16 @@
flag,language_set_flag,8,checks whether the user has set their prefered language flag,flag_language_set,8,checks whether the user has set their prefered language
flag,account_created_flag,9,this is set when an account has been created on the API flag,flag_account_created,9,this is set when an account has been created on the API
flag,account_pending_flag,10,this is set when an account does not have a status of SUCCESS flag,flag_account_pending,10,this is set when an account does not have a status of SUCCESS
flag,account_success_flag,11,this is set when an account has a status of SUCCESS flag,flag_account_success,11,this is set when an account has a status of SUCCESS
flag,account_authorized_flag,12,this is set to allow a user access guarded nodes after providing a correct PIN flag,flag_account_authorized,12,this is set to allow a user access guarded nodes after providing a correct PIN
flag,invalid_recipient_flag,13,this is set when the transaction recipient is invalid flag,flag_invalid_recipient,13,this is set when the transaction recipient is invalid
flag,invalid_recipient_with_invite_flag,14,this is set when the transaction recipient is valid but not on the platform flag,flag_invalid_recipient_with_invite,14,this is set when the transaction recipient is valid but not on the platform
flag,incorrect_pin_flag,15,this is set when the provided PIN is invalid or does not match the current account's PIN flag,flag_incorrect_pin,15,this is set when the provided PIN is invalid or does not match the current account's PIN
flag,allow_update_flag,16,this is set to allow a user to update their profile data flag,flag_allow_update,16,this is set to allow a user to update their profile data
flag,invalid_amount_flag,17,this is set when the given transaction amount is invalid flag,flag_invalid_amount,17,this is set when the given transaction amount is invalid
flag,pin_set_flag,18,this is set when a newly registered user sets a PIN. This must be present for an account to access the main menu flag,flag_pin_set,18,this is set when a newly registered user sets a PIN. This must be present for an account to access the main menu
flag,valid_pin_flag,19,this is set when the given PIN is valid flag,flag_valid_pin,19,this is set when the given PIN is valid
flag,pin_mismatch_flag,20,this is set when the confirmation PIN matches the initial PIN during registration flag,flag_pin_mismatch,20,this is set when the confirmation PIN matches the initial PIN during registration
flag,incorrect_date_format_flag,21,this is set when the given year of birth is invalid flag,flag_incorrect_date_format,21,this is set when the given year of birth is invalid
flag,account_creation_failed_flag,22,this is set when there's an error from the API during account creation flag,flag_account_creation_failed,22,this is set when there's an error from the API during account creation
flag,single_edit_flag,23,this is set to allow a user to edit a single profile item such as familyName flag,flag_single_edit,23,this is set to allow a user to edit a single profile item such as year of birth

1 flag language_set_flag flag_language_set 8 checks whether the user has set their prefered language
2 flag account_created_flag flag_account_created 9 this is set when an account has been created on the API
3 flag account_pending_flag flag_account_pending 10 this is set when an account does not have a status of SUCCESS
4 flag account_success_flag flag_account_success 11 this is set when an account has a status of SUCCESS
5 flag account_authorized_flag flag_account_authorized 12 this is set to allow a user access guarded nodes after providing a correct PIN
6 flag invalid_recipient_flag flag_invalid_recipient 13 this is set when the transaction recipient is invalid
7 flag invalid_recipient_with_invite_flag flag_invalid_recipient_with_invite 14 this is set when the transaction recipient is valid but not on the platform
8 flag incorrect_pin_flag flag_incorrect_pin 15 this is set when the provided PIN is invalid or does not match the current account's PIN
9 flag allow_update_flag flag_allow_update 16 this is set to allow a user to update their profile data
10 flag invalid_amount_flag flag_invalid_amount 17 this is set when the given transaction amount is invalid
11 flag pin_set_flag flag_pin_set 18 this is set when a newly registered user sets a PIN. This must be present for an account to access the main menu
12 flag valid_pin_flag flag_valid_pin 19 this is set when the given PIN is valid
13 flag pin_mismatch_flag flag_pin_mismatch 20 this is set when the confirmation PIN matches the initial PIN during registration
14 flag incorrect_date_format_flag flag_incorrect_date_format 21 this is set when the given year of birth is invalid
15 flag account_creation_failed_flag flag_account_creation_failed 22 this is set when there's an error from the API during account creation
16 flag single_edit_flag flag_single_edit 23 this is set to allow a user to edit a single profile item such as familyName this is set to allow a user to edit a single profile item such as year of birth

View File

@ -1,7 +1,7 @@
CATCH select_language language_set_flag 0 CATCH select_language flag_language_set 0
CATCH terms account_created_flag 0 CATCH terms flag_account_created 0
LOAD check_account_status 0 LOAD check_account_status 0
CATCH account_pending account_pending_flag 1 CATCH account_pending flag_account_pending 1
CATCH create_pin pin_set_flag 0 CATCH create_pin flag_pin_set 0
CATCH main account_success_flag 1 CATCH main flag_account_success 1
HALT HALT

View File

@ -1,12 +1,12 @@
LOAD save_familyname 0 LOAD save_familyname 0
CATCH update_success allow_update_flag 1 CATCH update_success flag_allow_update 1
MOUT male 1 MOUT male 1
MOUT female 2 MOUT female 2
MOUT unspecified 3 MOUT unspecified 3
MOUT back 0 MOUT back 0
HALT HALT
LOAD save_gender 0 LOAD save_gender 0
CATCH pin_entry single_edit_flag 1 CATCH pin_entry flag_single_edit 1
INCMP _ 0 INCMP _ 0
INCMP enter_yob 1 INCMP enter_yob 1
INCMP enter_yob 2 INCMP enter_yob 2

View File

@ -3,6 +3,6 @@ MOUT back 0
HALT HALT
LOAD validate_recipient 20 LOAD validate_recipient 20
RELOAD validate_recipient RELOAD validate_recipient
CATCH invalid_recipient invalid_recipient_flag 1 CATCH invalid_recipient flag_invalid_recipient 1
INCMP _ 0 INCMP _ 0
INCMP amount * INCMP amount *

View File

@ -8,7 +8,7 @@ MOUT quit 9
HALT HALT
LOAD authorize_account 1 LOAD authorize_account 1
RELOAD authorize_account RELOAD authorize_account
CATCH incorrect_pin incorrect_pin_flag 1 CATCH incorrect_pin flag_incorrect_pin 1
INCMP _ 0 INCMP _ 0
INCMP quit 9 INCMP quit 9
INCMP transaction_initiated * INCMP transaction_initiated *

View File

@ -1,8 +1,8 @@
LOAD get_profile_info 0 LOAD get_profile_info 0
MAP get_profile_info MAP get_profile_info
LOAD reset_incorrect 0 LOAD reset_incorrect 0
CATCH incorrect_pin incorrect_pin_flag 1 CATCH incorrect_pin flag_incorrect_pin 1
CATCH pin_entry account_authorized_flag 0 CATCH pin_entry flag_account_authorized 0
MOUT back 0 MOUT back 0
HALT HALT
INCMP _ 0 INCMP _ 0