auth
This commit is contained in:
24
web/src/stores/orders.ts
Normal file
24
web/src/stores/orders.ts
Normal 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 }
|
||||
})
|
||||
Reference in New Issue
Block a user