v2: changed TFAReq Msg to accept trx id and state

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2024-12-14 16:45:12 +03:30
parent 4b1ff1c31d
commit 0cd6107abe
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F
2 changed files with 3 additions and 0 deletions

View File

@ -194,6 +194,8 @@ message TFAReq {
optional string mobile = 2; optional string mobile = 2;
optional string email = 3; optional string email = 3;
optional string reason = 4; // issued jwt reason -> can be login, redeem, withdrawal optional string reason = 4; // issued jwt reason -> can be login, redeem, withdrawal
optional string transaction_id = 5;
optional TfaStateEnum state = 6;
} }
// Two Factor Authentication Exchange Response // Two Factor Authentication Exchange Response

View File

@ -302,6 +302,7 @@ message InternalTransferAssetReq {
message InternalTransferAssetRes { message InternalTransferAssetRes {
auth.v1.Recipient recipient = 1; auth.v1.Recipient recipient = 1;
double amount = 2; double amount = 2;
// TODO: Change to Asset
string transaction_id = 3; string transaction_id = 3;
string transaction_hash = 4; string transaction_hash = 4;
} }