diff --git a/auth/v1/msg.proto b/auth/v1/msg.proto index 4d28c87..10eb9cd 100644 --- a/auth/v1/msg.proto +++ b/auth/v1/msg.proto @@ -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 { diff --git a/errors/v1/msg.proto b/errors/v1/msg.proto index bb1f533..529f30f 100644 --- a/errors/v1/msg.proto +++ b/errors/v1/msg.proto @@ -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;