v2: redundant field removed from assets

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2025-07-12 10:52:50 +03:30
parent 69e5b366f9
commit e28f5391f5
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -93,29 +93,22 @@ message Asset {
string code = 3;
string issuer = 4;
int32 decimal = 5;
double limit_amount = 6; // FIXME: This Should be renamed to max supply
double max_supply = 6; // FIXME: This Should be renamed to max supply
string anchor = 7;
string image = 8;
string description = 9;
string url = 10;
int64 buy_unit_price = 11;
int64 sell_unit_price = 12;
double buy_min_amount = 13;
double buy_max_amount = 14;
double sell_min_amount = 15;
double sell_max_amount = 16;
double buy_fee_amount = 17;
int64 buy_fee_price = 18;
double sell_fee_amount = 19;
int64 sell_fee_price = 20;
double withdraw_min_amount = 21;
double withdraw_max_amount = 22;
bool is_active = 23;
bool can_buy = 24;
bool can_sell = 25;
bool can_deposit = 26;
bool can_withdraw = 27;
bool can_trade = 28;
double buy_min_amount = 12;
double buy_max_amount = 13;
double buy_fee_amount = 14;
int64 buy_fee_price = 15;
bool is_active = 20;
bool can_buy = 21;
bool can_sell = 22;
bool can_deposit = 23;
bool can_withdraw = 24;
bool can_trade = 25;
string updated_at = 29;
string created_at = 30;
repeated string images = 31;
@ -126,9 +119,7 @@ message Asset {
AssetPrice price = 36;
bool is_base_asset = 37;
bool is_locked = 38;
// Commission commission = 38;
AssetType type = 39;
double max_supply = 40;
}
enum AssetTokenType {