v2: redundant field removed from assets
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
69e5b366f9
commit
e28f5391f5
@ -93,29 +93,22 @@ message Asset {
|
|||||||
string code = 3;
|
string code = 3;
|
||||||
string issuer = 4;
|
string issuer = 4;
|
||||||
int32 decimal = 5;
|
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 anchor = 7;
|
||||||
string image = 8;
|
string image = 8;
|
||||||
string description = 9;
|
string description = 9;
|
||||||
string url = 10;
|
string url = 10;
|
||||||
int64 buy_unit_price = 11;
|
int64 buy_unit_price = 11;
|
||||||
int64 sell_unit_price = 12;
|
double buy_min_amount = 12;
|
||||||
double buy_min_amount = 13;
|
double buy_max_amount = 13;
|
||||||
double buy_max_amount = 14;
|
double buy_fee_amount = 14;
|
||||||
double sell_min_amount = 15;
|
int64 buy_fee_price = 15;
|
||||||
double sell_max_amount = 16;
|
bool is_active = 20;
|
||||||
double buy_fee_amount = 17;
|
bool can_buy = 21;
|
||||||
int64 buy_fee_price = 18;
|
bool can_sell = 22;
|
||||||
double sell_fee_amount = 19;
|
bool can_deposit = 23;
|
||||||
int64 sell_fee_price = 20;
|
bool can_withdraw = 24;
|
||||||
double withdraw_min_amount = 21;
|
bool can_trade = 25;
|
||||||
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;
|
|
||||||
string updated_at = 29;
|
string updated_at = 29;
|
||||||
string created_at = 30;
|
string created_at = 30;
|
||||||
repeated string images = 31;
|
repeated string images = 31;
|
||||||
@ -126,9 +119,7 @@ message Asset {
|
|||||||
AssetPrice price = 36;
|
AssetPrice price = 36;
|
||||||
bool is_base_asset = 37;
|
bool is_base_asset = 37;
|
||||||
bool is_locked = 38;
|
bool is_locked = 38;
|
||||||
// Commission commission = 38;
|
|
||||||
AssetType type = 39;
|
AssetType type = 39;
|
||||||
double max_supply = 40;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
enum AssetTokenType {
|
enum AssetTokenType {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user