TimedOrder submission works

This commit is contained in:
Tim Olson
2023-12-04 17:59:57 -04:00
parent 9797632ac6
commit c9ccb89d8e
8 changed files with 138 additions and 114 deletions

View File

@@ -43,7 +43,7 @@ function placeOrder() {
const route = os.route
const amt = FixedNumber.fromString(os.totalAmount.toString(), {decimals: os.amountToken.decimals}).value
const ts = props.tranches()
const order = newOrder(tokenIn, tokenOut, route.exchange, route.fee, amt, os.amountIsInput, ts)
const order = newOrder(tokenIn, tokenOut, route.exchange, route.fee, amt, os.amountIsInput, ts) // todo: minAmount, outputToOwner, chainOrder
pendOrder(order)
router.push('/orders')
}