v2: removed balance from identity , kyc err added

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2025-07-14 11:52:51 +03:30
parent cc5dcc09df
commit f969f845c5
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F
2 changed files with 4 additions and 2 deletions

View File

@ -162,8 +162,7 @@ message Identity {
optional Company company = 22;
optional string employee_info = 23;
string pub_key = 24;
optional float balance = 25;
optional UserAddress user_address = 26;
optional UserAddress user_address = 25;
}
message IdentityBasic {

View File

@ -17,6 +17,8 @@ enum ErrCode {
FORBIDDEN = 1003;
BAD_AUTH = 1004;
SESSION_EXPIRED = 1005;
USER_KYC_LV1_NOT_FOUND = 1006;
USER_KYC_LV2_NOT_FOUND = 1007;
// Argument validation errors
INVALID_ARGUMENT = 2000;
@ -113,6 +115,7 @@ enum ErrCode {
// Server errors
SERVER_ERROR_FREEZED_BALANCE_NEGATIVE = 8000;
SERVER_ERROR_NIL_DB_TX = 8001;
SERVER_ERROR_TFA_TEMPLATE_NOT_FOUND = 8002;
// Person-related errors
GET_PERSON_FAILED = 9000;