switch to xmr atomic units as native units

This commit is contained in:
woodser 2023-03-05 14:09:14 -05:00
parent ab94b2d6fa
commit 9b4f8046b7
124 changed files with 1155 additions and 1283 deletions

View file

@ -518,11 +518,11 @@ message OfferInfo {
string price = 3;
bool use_market_based_price = 4;
double market_price_margin_pct = 5;
uint64 amount = 6;
uint64 min_amount = 7;
uint64 amount = 6 [jstype = JS_STRING];
uint64 min_amount = 7 [jstype = JS_STRING];
string volume = 8;
string min_volume = 9;
uint64 buyer_security_deposit = 10;
uint64 buyer_security_deposit = 10 [jstype = JS_STRING];
string trigger_price = 11;
string payment_account_id = 12;
string payment_method_id = 13;
@ -531,10 +531,10 @@ message OfferInfo {
string counter_currency_code = 16;
uint64 date = 17;
string state = 18;
uint64 seller_security_deposit = 19;
uint64 seller_security_deposit = 19 [jstype = JS_STRING];
string offer_fee_payment_tx_id = 20;
uint64 tx_fee = 21;
uint64 maker_fee = 22;
uint64 tx_fee = 21 [jstype = JS_STRING];
uint64 maker_fee = 22 [jstype = JS_STRING];
bool is_activated = 23;
bool is_my_offer = 24;
string owner_node_address = 25;
@ -828,12 +828,12 @@ message TradeInfo {
string short_id = 3;
uint64 date = 4;
string role = 5;
uint64 taker_fee_as_long = 6;
uint64 taker_fee_as_long = 6 [jstype = JS_STRING];
string taker_fee_tx_id = 7;
string payout_tx_id = 8;
uint64 amount_as_long = 9;
uint64 buyer_security_deposit = 10;
uint64 seller_security_deposit = 11;
uint64 amount_as_long = 9 [jstype = JS_STRING];
uint64 buyer_security_deposit = 10 [jstype = JS_STRING];
uint64 seller_security_deposit = 11 [jstype = JS_STRING];
string price = 12;
string arbitrator_node_address = 13;
string trade_peer_node_address = 14;