Compare commits
3 Commits
fac703576f
...
b30e15caa5
| Author | SHA1 | Date | |
|---|---|---|---|
| b30e15caa5 | |||
| 71b4eff35e | |||
| 20954d287b |
@ -2789,6 +2789,7 @@ func (h *MenuHandlers) LoadSwapToList(ctx context.Context, sym string, input []b
|
|||||||
// Store all swap_to tokens data
|
// Store all swap_to tokens data
|
||||||
dataMap := map[storedb.DataTyp]string{
|
dataMap := map[storedb.DataTyp]string{
|
||||||
storedb.DATA_POOL_TO_SYMBOLS: data.Symbols,
|
storedb.DATA_POOL_TO_SYMBOLS: data.Symbols,
|
||||||
|
storedb.DATA_POOL_TO_BALANCES: data.Balances,
|
||||||
storedb.DATA_POOL_TO_DECIMALS: data.Decimals,
|
storedb.DATA_POOL_TO_DECIMALS: data.Decimals,
|
||||||
storedb.DATA_POOL_TO_ADDRESSES: data.Addresses,
|
storedb.DATA_POOL_TO_ADDRESSES: data.Addresses,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
RELOAD swap_max_limit
|
|
||||||
CATCH api_failure flag_api_call_error 1
|
|
||||||
MAP swap_max_limit
|
MAP swap_max_limit
|
||||||
MOUT back 0
|
MOUT back 0
|
||||||
HALT
|
HALT
|
||||||
|
|||||||
@ -7,6 +7,7 @@ MOUT back 0
|
|||||||
HALT
|
HALT
|
||||||
LOAD swap_max_limit 64
|
LOAD swap_max_limit 64
|
||||||
RELOAD swap_max_limit
|
RELOAD swap_max_limit
|
||||||
|
CATCH api_failure flag_api_call_error 1
|
||||||
CATCH . flag_incorrect_voucher 1
|
CATCH . flag_incorrect_voucher 1
|
||||||
CATCH low_swap_amount flag_low_swap_amount 1
|
CATCH low_swap_amount flag_low_swap_amount 1
|
||||||
INCMP _ 0
|
INCMP _ 0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user