Modified Events

Accounting Events

AllocatePartyA

Old Event:

event AllocatePartyA(address user, uint256 amount);

New Event:

event AllocatePartyA(address user, uint256 amount, uint256 newAllocatedBalance);

DeallocatePartyA

Old Event:

event DeallocatePartyA(address user, uint256 amount);

New Event:

event DeallocatePartyA(address user, uint256 amount, uint256 newAllocatedBalance);

AllocateForPartyB

Old Event:

event AllocateForPartyB(address partyB, address partyA, uint256 amount);

New Event:

event AllocateForPartyB(address partyB, address partyA, uint256 amount, uint256 newAllocatedBalance);

DeallocateForPartyB

Old Event:

event DeallocateForPartyB(address partyB, address partyA, uint256 amount);

New Event:

event DeallocateForPartyB(address partyB, address partyA, uint256 amount, uint256 newAllocatedBalance);

TransferAllocation

Old Event:

event TransferAllocation(uint256 amount, address origin, address recipient);

New Event:

event TransferAllocation(uint256 amount, address origin, uint256 originNewAllocatedBalance, address recipient, uint256 recipientNewAllocatedBalance);

Control Events

SetMuonConfig

Old Event:

event SetMuonConfig(uint256 upnlValidTime, uint256 priceValidTime, uint256 priceQuantityValidTime);

New Event:

event SetMuonConfig(uint256 upnlValidTime, uint256 priceValidTime);

SetFeeCollector

Old Event:

event SetFeeCollector(address oldFeeCollector, address newFeeCollector);

New Event:

event SetFeeCollector(address affiliate, address oldFeeCollector, address newFeeCollector);

SetForceCloseCooldown

Old Event:

event SetForceCloseCooldown(uint256 oldForceCloseCooldown, uint256 newForceCloseCooldown);

New Event:

event SetForceCloseCooldowns(uint256 oldForceCloseFirstCooldown, uint256 newForceCloseFirstCooldown, uint256 oldForceCloseSecondCooldown, uint256 newForceCloseSecondCooldown);

SetForceCloseGapRatio

Old Event:

event SetForceCloseGapRatio(uint256 oldForceCloseGapRatio, uint256 newForceCloseGapRatio);

New Event:

event SetForceCloseGapRatio(uint256 symbolId, uint256 oldForceCloseGapRatio, uint256 newForceCloseGapRatio);

Liquidation Events

SetSymbolsPrices

Old Event:

event SetSymbolsPrices(address liquidator, address partyA, uint256[] symbolIds, uint256[] prices);

New Event:

event SetSymbolsPrices(address liquidator, address partyA, uint256[] symbolIds, uint256[] prices, bytes liquidationId);

LiquidatePartyA

Old Event:

event LiquidatePartyA(address liquidator, address partyA, uint256 allocatedBalance, int256 upnl, int256 totalUnrealizedLoss);

New Event:

event LiquidatePartyA(address liquidator, address partyA, uint256 allocatedBalance, int256 upnl, int256 totalUnrealizedLoss, bytes liquidationId);

LiquidatePositionsPartyA

Old Event:

event LiquidatePositionsPartyA(address liquidator, address partyA, uint256[] quoteIds);

New Event:

event LiquidatePositionsPartyA(address liquidator, address partyA, uint256[] quoteIds, uint256[] liquidatedAmounts, uint256[] closeIds, bytes liquidationId);

LiquidatePendingPositionsPartyA

Old Event:

event LiquidatePendingPositionsPartyA(address liquidator, address partyA);

New Event:

event LiquidatePendingPositionsPartyA(address liquidator, address partyA, uint256[] quoteIds, uint256[] liquidatedAmounts, bytes liquidationId);

SettlePartyALiquidation

Old Event:

event SettlePartyALiquidation(address partyA, address[] partyBs, int256[] amounts);

New Event:

event SettlePartyALiquidation(address partyA, address[] partyBs, int256[] amounts, bytes liquidationId);

LiquidationDisputed

Old Event:

event LiquidationDisputed(address partyA);

New Event:

event LiquidationDisputed(address partyA, bytes liquidationId);

ResolveLiquidationDispute

Old Event:

event ResolveLiquidationDispute(address partyA, address[] partyBs, int256[] amounts, bool disputed);

New Event:

event ResolveLiquidationDispute(address partyA, address[] partyBs, int256[] amounts, bool disputed, bytes liquidationId);

FullyLiquidatedPartyA

Old Event:

event FullyLiquidatedPartyA(address partyA);

New Event:

event FullyLiquidatedPartyA(address partyA, bytes liquidationId);

LiquidatePositionsPartyB

Old Event:

event LiquidatePositionsPartyB(address liquidator, address partyB, address partyA, uint256[] quoteIds);

New Event:

event LiquidatePositionsPartyB(address liquidator, address partyB, address partyA, uint256[] quoteIds, uint256[] liquidatedAmounts, uint256[] closeIds);

Close Events

RequestToClosePosition

Old Event:

event RequestToClosePosition(address partyA, address partyB, uint256 quoteId, uint256 closePrice, uint256 quantityToClose, OrderType orderType, uint256 deadline, QuoteStatus quoteStatus);

New Event:

event RequestToClosePosition(address partyA, address partyB, uint256 quoteId, uint256 closePrice, uint256 quantityToClose, OrderType orderType, uint256 deadline, QuoteStatus quoteStatus, uint256 closeId);

RequestToCancelCloseRequest

Old Event:

event RequestToCancelCloseRequest(address partyA, address partyB, uint256 quoteId, QuoteStatus quoteStatus);

New Event:

event RequestToCancelCloseRequest(address partyA, address partyB, uint256 quoteId, QuoteStatus quoteStatus, uint256 closeId);

ForceCancelCloseRequest

Old Event:

event ForceCancelCloseRequest(uint256 quoteId, QuoteStatus quoteStatus);

New Event:

event ForceCancelCloseRequest(uint256 quoteId, QuoteStatus quoteStatus, uint256 closeId);

ForceClosePosition

Old Event:

event ForceClosePosition(uint256 quoteId, address partyA, address partyB, uint256 filledAmount, uint256 closedPrice, QuoteStatus quoteStatus);

New Event:

event ForceClosePosition(uint256 quoteId, address partyA, address partyB, uint256 filledAmount, uint256 closedPrice, QuoteStatus quoteStatus, uint256 closeId);

FillCloseRequest

Old Event:

event FillCloseRequest(uint256 quoteId, address partyA, address partyB, uint256 filledAmount, uint256 closedPrice, QuoteStatus quoteStatus);

New Event:

event FillCloseRequest(uint256 quoteId, address partyA, address partyB, uint256 filledAmount, uint256 closedPrice, QuoteStatus quoteStatus, uint256 closeId);

AcceptCancelCloseRequest

Old Event:

event AcceptCancelCloseRequest(uint256 quoteId, QuoteStatus quoteStatus);

New Event:

event AcceptCancelCloseRequest(uint256 quoteId, QuoteStatus quoteStatus, uint256 closeId);

EmergencyClosePosition

Old Event:

event EmergencyClosePosition(uint256 quoteId, address partyA, address partyB, uint256 filledAmount, uint256 closedPrice, QuoteStatus quoteStatus);

New Event:

event EmergencyClosePosition(uint256 quoteId, address partyA, address partyB, uint256 filledAmount, uint256 closedPrice, QuoteStatus quoteStatus, uint256 closeId);

Last updated

Logo

All rights to the people (c) 2023 Symmetry Labs A.G.