Skip to content

Latest commit

 

History

History
219 lines (210 loc) · 8.44 KB

SwapsEvents.md

File metadata and controls

219 lines (210 loc) · 8.44 KB

The Swaps Events contract. (SwapsEvents.sol)

View Source: contracts/events/SwapsEvents.sol

↗ Extends: ModulesCommonEvents ↘ Derived Contracts: ISovryn, SwapsUser

SwapsEvents contract

This contract code comes from bZx. bZx is a protocol for tokenized margin trading and lending https://bzx.network similar to the dYdX protocol.

  • This contract contains the events for swap operations.

Events

event LoanSwap(bytes32 indexed loanId, address indexed sourceToken, address indexed destToken, address  borrower, uint256  sourceAmount, uint256  destAmount);
event ExternalSwap(address indexed user, address indexed sourceToken, address indexed destToken, uint256  sourceAmount, uint256  destAmount);

Functions

Contracts