Compare commits
4 Commits
7e1042c6a9
...
5a09d33be0
| Author | SHA1 | Date | |
|---|---|---|---|
| 5a09d33be0 | |||
| 0c67efedea | |||
| 14d493475e | |||
| 0e4dfe1baf |
@ -4,6 +4,7 @@ RELOAD max_amount
|
||||
MAP max_amount
|
||||
MOUT back 0
|
||||
HALT
|
||||
CATCH transaction_swap flag_swap_transaction 1
|
||||
LOAD validate_amount 64
|
||||
RELOAD validate_amount
|
||||
CATCH api_failure flag_api_call_error 1
|
||||
|
||||
@ -35,3 +35,4 @@ flag,flag_account_pin_reset,41,this is set on an account when an admin triggers
|
||||
flag,flag_incorrect_pool,42,this is set when the user selects an invalid pool
|
||||
flag,flag_low_swap_amount,43,this is set when the swap max limit is less than 0.1
|
||||
flag,flag_alias_unavailable,44,this is set when the preferred alias is not available
|
||||
flag,flag_swap_transaction,45,this is set when the transaction will involve performing a swap
|
||||
|
||||
|
Can't render this file because it has a wrong number of fields in line 34.
|
3
services/registration/transaction_swap
Normal file
3
services/registration/transaction_swap
Normal file
@ -0,0 +1,3 @@
|
||||
{{.transaction_swap_preview}}
|
||||
|
||||
Please enter your PIN to confirm:
|
||||
12
services/registration/transaction_swap.vis
Normal file
12
services/registration/transaction_swap.vis
Normal file
@ -0,0 +1,12 @@
|
||||
LOAD transaction_swap_preview 0
|
||||
MAP transaction_swap_preview
|
||||
CATCH api_failure flag_api_call_error 1
|
||||
MOUT back 0
|
||||
MOUT quit 9
|
||||
LOAD authorize_account 6
|
||||
HALT
|
||||
RELOAD authorize_account
|
||||
CATCH incorrect_pin flag_incorrect_pin 1
|
||||
INCMP _ 0
|
||||
INCMP quit 9
|
||||
INCMP transaction_swap_initiated *
|
||||
4
services/registration/transaction_swap_initiated.vis
Normal file
4
services/registration/transaction_swap_initiated.vis
Normal file
@ -0,0 +1,4 @@
|
||||
LOAD reset_incorrect_pin 6
|
||||
CATCH _ flag_account_authorized 0
|
||||
LOAD transaction_initiate_swap 0
|
||||
HALT
|
||||
@ -91,8 +91,6 @@ const (
|
||||
DATA_ACTIVE_POOL_SYM
|
||||
// Holds the send transaction type
|
||||
DATA_SEND_TRANSACTION_TYPE
|
||||
// Holds the recipient active token (RAT)
|
||||
DATA_RECIPIENT_ACTIVE_TOKEN
|
||||
// Holds the recipient formatted phone number
|
||||
DATA_RECIPIENT_PHONE_NUMBER
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user