Skip to content

Commit 941e6e3

Browse files
committed
fix: give up on deleting old entity fields and keep the nullable rows
1 parent fa55bbb commit 941e6e3

File tree

1 file changed

+9
-0
lines changed
  • packages/fasset-indexer-core/src/orm/entities/state

1 file changed

+9
-0
lines changed

packages/fasset-indexer-core/src/orm/entities/state/agent.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ export class AgentVaultSettings {
3131
@Property({ type: new uint256() })
3232
poolExitCollateralRatioBIPS: bigint
3333

34+
@Property({ type: new uint256(), nullable: true })
35+
poolTopupCollateralRatioBIPS?: bigint
36+
37+
@Property({ type: new uint256(), nullable: true })
38+
poolTopupTokenPriceFactorBIPS?: bigint
39+
3440
@Property({ type: new uint256(), nullable: true })
3541
redemptionPoolFeeShareBIPS: bigint
3642

@@ -111,6 +117,9 @@ export class AgentVaultInfo {
111117
@Property({ type: new uint256() })
112118
dustUBA: bigint
113119

120+
@Property({ type: "number", nullable: true })
121+
ccbStartTimestamp?: number
122+
114123
@Property({ type: "number" })
115124
liquidationStartTimestamp: number
116125

0 commit comments

Comments
 (0)