Skip to content

Commit fa55bbb

Browse files
committed
fix: remove CCB liquidation tracking
1 parent 30c60fc commit fa55bbb

File tree

7 files changed

+1
-10
lines changed

7 files changed

+1
-10
lines changed

configs/dashboard.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"RedemptionPaymentBlocked",
1818
"RedemptionPaymentFailed",
1919
"RedemptionRejected",
20-
"AgentInCCB",
2120
"LiquidationStarted",
2221
"FullLiquidationStarted",
2322
"LiquidationPerformed",

configs/everything.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"RedemptionTicketUpdated",
2727
"RedemptionTicketDeleted",
2828
"RedeemedInCollateral",
29-
"AgentInCCB",
3029
"LiquidationStarted",
3130
"FullLiquidationStarted",
3231
"LiquidationPerformed",

packages/fasset-indexer-core/src/config/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ export const EVENTS = {
6161
REDEMPTION_TICKET_UPDATED: 'RedemptionTicketUpdated',
6262
REDEMPTION_TICKET_DELETED: 'RedemptionTicketDeleted',
6363
// liquidation
64-
AGENT_IN_CCB: "AgentInCCB",
6564
LIQUIDATION_STARTED: "LiquidationStarted",
6665
FULL_LIQUIDATION_STARTED: "FullLiquidationStarted",
6766
LIQUIDATION_PERFORMED: "LiquidationPerformed",

packages/fasset-indexer-core/src/indexer/eventlib/event-storer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ import {
4444
RedemptionTicketUpdated
4545
} from "../../orm/entities/events/redemption-ticket"
4646
import {
47-
AgentInCCB,
4847
FullLiquidationStarted,
4948
LiquidationEnded,
5049
LiquidationPerformed,

packages/fasset-indexer-core/src/orm/entities/events/liquidation.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ class LiquidationStartedBase extends FAssetEventBound {
2222
}
2323
}
2424

25-
@Entity()
26-
export class AgentInCCB extends LiquidationStartedBase { }
27-
2825
@Entity()
2926
export class LiquidationStarted extends LiquidationStartedBase { }
3027

packages/fasset-indexer-core/src/orm/entities/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export {
1616
RedeemedInCollateral
1717
} from "./events/redemption"
1818
export {
19-
AgentInCCB,
2019
FullLiquidationStarted, LiquidationEnded,
2120
LiquidationPerformed, LiquidationStarted
2221
} from "./events/liquidation"

packages/fasset-indexer-core/src/orm/mikro-orm.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import {
2121
RedeemedInCollateral
2222
} from "./entities/events/redemption"
2323
import {
24-
AgentInCCB,
2524
FullLiquidationStarted, LiquidationEnded,
2625
LiquidationPerformed, LiquidationStarted
2726
} from "./entities/events/liquidation"
@@ -83,7 +82,7 @@ export const ORM_OPTIONS: Options<AbstractSqlDriver> = defineConfig({
8382
RedeemedInCollateral, RedemptionRequestIncomplete,
8483
RedemptionTicketCreated, RedemptionTicketUpdated, RedemptionTicketDeleted, RedemptionTicket,
8584
// liquidation
86-
AgentInCCB, LiquidationStarted, FullLiquidationStarted, LiquidationPerformed, LiquidationEnded,
85+
LiquidationStarted, FullLiquidationStarted, LiquidationPerformed, LiquidationEnded,
8786
// challenge
8887
IllegalPaymentConfirmed, DuplicatePaymentConfirmed, UnderlyingBalanceTooLow,
8988
// collateral pool

0 commit comments

Comments
 (0)