minAmount 0.1%
This commit is contained in:
@@ -31,7 +31,7 @@ export function newOrder(tokenIn, tokenOut, exchange, fee, amount, amountIsInput
|
||||
if (!tranches)
|
||||
tranches = [newTranche({marketOrder: true})] // todo this is just a swap: issue warning?
|
||||
if( minFillAmount === null )
|
||||
minFillAmount = amount / 100n // default to min trade size of 1%
|
||||
minFillAmount = amount / 1000n // default to min trade size of 0.1%
|
||||
return {
|
||||
tokenIn, tokenOut, route:{exchange, fee},
|
||||
amount, minFillAmount, amountIsInput,
|
||||
|
||||
Reference in New Issue
Block a user