order placement works, including automatic vault creation

This commit is contained in:
Tim Olson
2023-10-06 19:49:31 -04:00
parent c206607547
commit c637e82ac3
8 changed files with 279 additions and 56 deletions

View File

@@ -4,10 +4,12 @@ import {knownTokens} from "@/tokens.js";
export const useStore = defineStore('app', {
state: () => ({
chainInfo: null,
chainId: null,
chainInfo: null,
vaultInitCodeHash: null,
account: null,
vault: null,
vaults: [],
pendingOrders: [], // created but not yet sent to metamask. maybe waiting on vault creation.
errors: [{
title: 'DANGER!',
text: 'This is early development (alpha) software, which could have severe bugs that lose all your money. Thank you for testing a SMALL amount!',