Modified Events
Accounting Events
AllocatePartyA
AllocatePartyAOld Event:
event AllocatePartyA(address user, uint256 amount);New Event:
event AllocatePartyA(address user, uint256 amount, uint256 newAllocatedBalance);DeallocatePartyA
DeallocatePartyA Old Event:
event DeallocatePartyA(address user, uint256 amount);New Event:
event DeallocatePartyA(address user, uint256 amount, uint256 newAllocatedBalance);AllocateForPartyB
AllocateForPartyB Old Event:
event AllocateForPartyB(address partyB, address partyA, uint256 amount);New Event:
event AllocateForPartyB(address partyB, address partyA, uint256 amount, uint256 newAllocatedBalance);DeallocateForPartyB
DeallocateForPartyB Old Event:
event DeallocateForPartyB(address partyB, address partyA, uint256 amount);New Event:
event DeallocateForPartyB(address partyB, address partyA, uint256 amount, uint256 newAllocatedBalance);TransferAllocation
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
SetMuonConfig Old Event:
event SetMuonConfig(uint256 upnlValidTime, uint256 priceValidTime, uint256 priceQuantityValidTime);New Event:
event SetMuonConfig(uint256 upnlValidTime, uint256 priceValidTime);SetFeeCollector
SetFeeCollector Old Event:
event SetFeeCollector(address oldFeeCollector, address newFeeCollector);New Event:
event SetFeeCollector(address affiliate, address oldFeeCollector, address newFeeCollector);SetForceCloseCooldown
SetForceCloseCooldown Old Event:
event SetForceCloseCooldown(uint256 oldForceCloseCooldown, uint256 newForceCloseCooldown);New Event:
event SetForceCloseCooldowns(uint256 oldForceCloseFirstCooldown, uint256 newForceCloseFirstCooldown, uint256 oldForceCloseSecondCooldown, uint256 newForceCloseSecondCooldown);SetForceCloseGapRatio
SetForceCloseGapRatio Old Event:
event SetForceCloseGapRatio(uint256 oldForceCloseGapRatio, uint256 newForceCloseGapRatio);New Event:
event SetForceCloseGapRatio(uint256 symbolId, uint256 oldForceCloseGapRatio, uint256 newForceCloseGapRatio);Liquidation Events
SetSymbolsPrices
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
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
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
LiquidatePendingPositionsPartyA Old Event:
event LiquidatePendingPositionsPartyA(address liquidator, address partyA);New Event:
event LiquidatePendingPositionsPartyA(address liquidator, address partyA, uint256[] quoteIds, uint256[] liquidatedAmounts, bytes liquidationId);SettlePartyALiquidation
SettlePartyALiquidation Old Event:
event SettlePartyALiquidation(address partyA, address[] partyBs, int256[] amounts);New Event:
event SettlePartyALiquidation(address partyA, address[] partyBs, int256[] amounts, bytes liquidationId);LiquidationDisputed
LiquidationDisputed Old Event:
event LiquidationDisputed(address partyA);New Event:
event LiquidationDisputed(address partyA, bytes liquidationId);ResolveLiquidationDispute
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
FullyLiquidatedPartyA Old Event:
event FullyLiquidatedPartyA(address partyA);New Event:
event FullyLiquidatedPartyA(address partyA, bytes liquidationId);LiquidatePositionsPartyB
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
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
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
ForceCancelCloseRequest Old Event:
event ForceCancelCloseRequest(uint256 quoteId, QuoteStatus quoteStatus);New Event:
event ForceCancelCloseRequest(uint256 quoteId, QuoteStatus quoteStatus, uint256 closeId);ForceClosePosition
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
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
AcceptCancelCloseRequest Old Event:
event AcceptCancelCloseRequest(uint256 quoteId, QuoteStatus quoteStatus);New Event:
event AcceptCancelCloseRequest(uint256 quoteId, QuoteStatus quoteStatus, uint256 closeId);EmergencyClosePosition
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
