New Events

New Events

BalanceChange

To facilitate the tracking of user balances for partyB or anyone monitoring the Symmio contracts, we have added an event called BalanceChanged that is emitted every time a user's allocated balance changes. The reason for the change can be accessed through the type field of this event.

enum BalanceChangeType {
ALLOCATE,
DEALLOCATE,
PLATFORM_FEE_IN,
PLATFORM_FEE_OUT,
REALIZED_PNL_IN,
REALIZED_PNL_OUT,
CVA_IN,
CVA_OUT,
LF_IN,
LF_OUT
}

event BalanceChangePartyA(address indexed partyA, uint256 amount, BalanceChangeType _type);

event BalanceChangePartyB(address indexed partyB, address indexed partyA, uint256 amount, BalanceChangeType _type);

ExpireQuote

To enhance clarity, the single ExpireQuote event has been split into two separate events: ExpireQuoteOpen and ExpireQuoteClose.

ExpireQuoteOpen

Explanation: Emitted when an open request expires, providing the quote status and quote ID.

ExpireQuoteClose

Explanation: Emitted when a close request expires, including the quote status, quote ID, and close ID.

Affiliate Events

RegisterAffiliate

Explanation: Emitted when an affiliate is registered.

DeregisterAffiliate

Explanation: Emitted when an affiliate is deregistered.

Bridge Events

AddBridge

Explanation: Emitted when a bridge is added.

RemoveBridge

Explanation: Emitted when a bridge is removed.

TransferToBridge

Explanation: Emitted when a transfer to a bridge is initiated.

WithdrawReceivedBridgeValue

Explanation: Emitted when the received bridge value is withdrawn.

SuspendBridgeTransaction

Explanation: Emitted when a bridge transaction is suspended.

RestoreBridgeTransaction

Explanation: Emitted when a bridge transaction is restored.

WithdrawReceivedBridgeValues

Explanation: Emitted when multiple received bridge values are withdrawn.

SetInvalidBridgedAmountsPool

Explanation: Emitted when the invalid bridged amounts pool is updated.

Internal Transfer Events

InternalTransfer

Explanation: Emitted when an internal transfer is made.

Deferred Liquidation Events

DeferredLiquidatePartyA

Explanation: Emitted when a deferred liquidation for Party A occurs.

Last updated