Skip to content

Commit f6d8bd2

Browse files
authored
fix createVault submission shape
1 parent 06e6602 commit f6d8bd2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/lib/eip712.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,13 @@ export const ACTION_REGISTRY: Record<ActionType, ActionDef> = {
209209
mono: true,
210210
},
211211
],
212+
buildAction: (fields) => ({
213+
type: 'createVault',
214+
name: fields.name,
215+
description: fields.description,
216+
initialUsd: parseInt(fields.initialUsd),
217+
nonce: parseInt(fields.nonce),
218+
}),
212219
},
213220
vaultModify: {
214221
type: 'vaultModify',

0 commit comments

Comments
 (0)