(utas: UTAConfig[])
| 757 | } |
| 758 | |
| 759 | export async function writeUTAsConfig(utas: UTAConfig[]): Promise<void> { |
| 760 | const validated = utasFileSchema.parse(utas) |
| 761 | await writeAccountsFile(validated) |
| 762 | } |
| 763 | |
| 764 | /** |
| 765 | * Wipe a UTA's persistent trading state (`data/trading/<id>/`). Used when |
no test coverage detected