diff --git a/src/blockchain/abi.js b/src/blockchain/abi.js
index f5e4f80..7415299 100644
--- a/src/blockchain/abi.js
+++ b/src/blockchain/abi.js
@@ -86,10 +86,10 @@ export const vaultAbi = [
'function withdraw(address token, uint256 amount)',
'function withdrawTo(address token, address recipient, uint256 amount)',
'function numSwapOrders() view returns (uint64 num)',
- `function placeOrder(${SwapOrder})`,
- `function placeOrders(${SwapOrder}[], uint8 ocoMode)`,
- 'function cancelOrder(uint64 orderIndex)',
- 'function cancelAll()',
+ `function placeDexorder(${SwapOrder})`,
+ `function placeDexorders(${SwapOrder}[], uint8 ocoMode)`,
+ 'function cancelDexorder(uint64 orderIndex)',
+ 'function cancelAllDexorders()',
// `function swapOrderStatus(uint64 orderIndex) view returns (${SwapOrderStatus} memory status)`,
'function orderCanceled(uint64 orderIndex) view returns (bool)',
]
diff --git a/src/blockchain/wallet.js b/src/blockchain/wallet.js
index d5977f8..b6e938f 100644
--- a/src/blockchain/wallet.js
+++ b/src/blockchain/wallet.js
@@ -285,7 +285,7 @@ export async function cancelOrder(vault, orderIndex) {
console.error('vault contract was null while canceling order', vault, orderIndex)
return null
}
- return await contract.cancelOrder(orderIndex)
+ return await contract.cancelDexorder(orderIndex)
})
}
@@ -296,7 +296,7 @@ export async function cancelAll(vault) {
console.error('vault contract was null while canceling order', vault)
return null
}
- return await contract.cancelAll()
+ return await contract.cancelAllDexorders()
})
}
@@ -329,7 +329,7 @@ function pendOrderAsTransaction(order) {
return null
}
console.log('placing order', order)
- const tx = await contract.placeOrder(order.order) // todo update status
+ const tx = await contract.placeDexorder(order.order) // todo update status
order.tx = tx
tx.wait().then((txReceipt)=>{
const ws = useWalletStore();
diff --git a/src/components/Orders.vue b/src/components/Orders.vue
index d135551..a0ca3bc 100644
--- a/src/components/Orders.vue
+++ b/src/components/Orders.vue
@@ -31,7 +31,7 @@
Open
- Cancel
New Order
- Place Order
+ Place Dexorder
Cancel