Skip to content

Latest commit

 

History

History
221 lines (212 loc) · 8.69 KB

FeesEvents.md

File metadata and controls

221 lines (212 loc) · 8.69 KB

The Fees Events contract. (FeesEvents.sol)

View Source: contracts/events/FeesEvents.sol

↘ Derived Contracts: FeesHelper, ISovryn

FeesEvents 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 fee payments.

Events

event PayLendingFee(address indexed payer, address indexed token, uint256  amount);
event PayTradingFee(address indexed payer, address indexed token, bytes32 indexed loanId, uint256  amount);
event PayBorrowingFee(address indexed payer, address indexed token, bytes32 indexed loanId, uint256  amount);
event EarnReward(address indexed receiver, address indexed token, bytes32 indexed loanId, uint256  feeRebatePercent, uint256  amount, uint256  basisPoint);
event EarnRewardFail(address indexed receiver, address indexed token, bytes32 indexed loanId, uint256  feeRebatePercent, uint256  amount, uint256  basisPoint);

Functions

Contracts