This commit is contained in:
2026-03-02 01:36:14 -04:00
parent d907c5765e
commit 311df9aeda
21 changed files with 2772 additions and 33 deletions

24
web/src/stores/orders.ts Normal file
View File

@@ -0,0 +1,24 @@
import { defineStore } from 'pinia'
import { ref } from 'vue'
export interface SwapOrder {
tokenIn: string
tokenOut: string
route: {
exchange: string
fee: string
}
amount: string
minFillAmount: string
amountIsInput: boolean
outputDirectlyToOwner: boolean
inverted: boolean
conditionalOrder: string
tranches: any[]
}
export const useOrderStore = defineStore('OrderStore', () => {
const orders = ref<SwapOrder[]>([])
return { orders }
})