From e20f0dac87d8fafac659bebf6022fe74b4a0acd3 Mon Sep 17 00:00:00 2001 From: anilhelvaci Date: Mon, 26 Feb 2024 21:08:39 +0300 Subject: [PATCH] chore(liquidationVisibility): add snapshot --- .../test-liquidation-visibility.js.md | 162 ++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 packages/vats/test/bootstrapTests/liquidationVisibility/snapshots/test-liquidation-visibility.js.md diff --git a/packages/vats/test/bootstrapTests/liquidationVisibility/snapshots/test-liquidation-visibility.js.md b/packages/vats/test/bootstrapTests/liquidationVisibility/snapshots/test-liquidation-visibility.js.md new file mode 100644 index 00000000000..2f1b99e6d3a --- /dev/null +++ b/packages/vats/test/bootstrapTests/liquidationVisibility/snapshots/test-liquidation-visibility.js.md @@ -0,0 +1,162 @@ +# Snapshot report for `test/bootstrapTests/liquidationVisibility/test-liquidation-visibility.js` + +The actual snapshot is saved in `test-liquidation-visibility.js.snap`. + +Generated by [AVA](https://avajs.dev). + +## snapshot-storage + +> Snapshot 1 + + [ + [ + 'published.vaultFactory.managers.manager0.liquidations.3600.vaults.preAuction', + [ + [ + 'vault0', + { + collateralAmount: { + brand: Object @Alleged: BoardRemoteATOM brand { + getBoardId: Function getBoardId {}, + }, + value: 15000000n, + }, + debtAmount: { + brand: Object @Alleged: BoardRemoteIST brand { + getBoardId: Function getBoardId {}, + }, + value: 105525000n, + }, + }, + ], + [ + 'vault1', + { + collateralAmount: { + brand: Object @Alleged: BoardRemoteATOM brand { + getBoardId: Function getBoardId {}, + }, + value: 15000000n, + }, + debtAmount: { + brand: Object @Alleged: BoardRemoteIST brand { + getBoardId: Function getBoardId {}, + }, + value: 103515000n, + }, + }, + ], + [ + 'vault2', + { + collateralAmount: { + brand: Object @Alleged: BoardRemoteATOM brand { + getBoardId: Function getBoardId {}, + }, + value: 15000000n, + }, + debtAmount: { + brand: Object @Alleged: BoardRemoteIST brand { + getBoardId: Function getBoardId {}, + }, + value: 100500000n, + }, + }, + ], + ], + ], + [ + 'published.vaultFactory.managers.manager0.liquidations.3600.vaults.postAuction', + [ + [ + 'vault2', + { + Collateral: { + brand: Object @Alleged: BoardRemoteATOM brand { + getBoardId: Function getBoardId {}, + }, + value: 3425146n, + }, + phase: 'liquidated', + }, + ], + [ + 'vault1', + { + Collateral: { + brand: Object @Alleged: BoardRemoteATOM brand { + getBoardId: Function getBoardId {}, + }, + value: 3077900n, + }, + phase: 'liquidated', + }, + ], + [ + 'vault0', + { + Collateral: { + brand: Object @Alleged: BoardRemoteATOM brand { + getBoardId: Function getBoardId {}, + }, + value: 2846403n, + }, + phase: 'liquidated', + }, + ], + ], + ], + [ + 'published.vaultFactory.managers.manager0.liquidations.3600.auctionResult', + { + collateralForReserve: { + brand: Object @Alleged: BoardRemoteATOM brand { + getBoardId: Function getBoardId {}, + }, + value: 309852n, + }, + collateralOffered: { + brand: Object @Alleged: BoardRemoteATOM brand { + getBoardId: Function getBoardId {}, + }, + value: 45000000n, + }, + collateralRemaining: { + brand: Object @Alleged: BoardRemoteATOM brand { + getBoardId: Function getBoardId {}, + }, + value: 0n, + }, + collateralSold: { + brand: Object @Alleged: BoardRemoteATOM brand { + getBoardId: Function getBoardId {}, + }, + value: 35340699n, + }, + endTime: { + absValue: 5042n, + timerBrand: Object @Alleged: BoardRemotetimerBrand { + getBoardId: Function getBoardId {}, + }, + }, + istTarget: { + brand: Object @Alleged: BoardRemoteIST brand { + getBoardId: Function getBoardId {}, + }, + value: 309540000n, + }, + mintedProceeds: { + brand: Object @Alleged: BoardRemoteIST brand { + getBoardId: Function getBoardId {}, + }, + value: 309540000n, + }, + shortfallToReserve: { + brand: Object @Alleged: BoardRemoteIST brand { + getBoardId: Function getBoardId {}, + }, + value: 0n, + }, + }, + ], + ]