add pin guard nodes

This commit is contained in:
Carlosokumu 2024-09-17 14:29:11 +03:00
parent b19188165b
commit eefdc1c0f2
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953
15 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1 @@
Enter phone number of the guardian to add:

View File

@ -0,0 +1,4 @@
MOUT back 0
HALT
INCMP _ 0

View File

@ -0,0 +1 @@
Add guardian

View File

@ -0,0 +1 @@
This is the guardian list

View File

@ -0,0 +1,3 @@
MOUT back 0
HALT
INCMP _ 0

View File

@ -0,0 +1 @@
PIN guarding:

View File

@ -0,0 +1,12 @@
MOUT add_guardian 1
MOUT remove_guardian 2
MOUT view_guardians 3
MOUT back 0
HALT
INCMP _ 0
INCMP add_guardian 1
INCMP remove_guardian 2
INCMP view_guardian 3

View File

@ -5,4 +5,6 @@ MOUT back 0
HALT HALT
INCMP _ 0 INCMP _ 0
INCMP old_pin 1 INCMP old_pin 1
INCMP pin_guard 3

View File

@ -0,0 +1 @@
Enter phone number of the guardian you want to remove

View File

@ -0,0 +1,4 @@
MOUT back 0
HALT
INCMP _ 0

View File

@ -0,0 +1 @@
Remove guardian

View File

@ -0,0 +1,8 @@
CATCH incorrect_pin flag_incorrect_pin 1
CATCH view_guardian_pin flag_account_authorized 0
CATCH guardian_list flag_account_authorized 1
HALT

View File

@ -0,0 +1 @@
Enter your PIN to view your guardians:

View File

@ -0,0 +1,5 @@
LOAD authorize_account 0
HALT
RELOAD authorize_account
MOVE _

View File

@ -0,0 +1 @@
View guardians