Events
Transfer
event Transfer(address indexed from, address indexed to, uint256 value);Logs the transfer of the market token.
Approval
event Approval(address indexed owner, address indexed spender, uint256 value);Logs changes in allowance with the market token.
MaxTotalSupplyUpdated
event MaxTotalSupplyUpdated(uint256 assets);Logs changes to the maximum total supply of the market token.
AnnualInterestBipsUpdated
event AnnualInterestBipsUpdated(uint256 annualInterestBipsUpdated);Logs changes to the APR bips.
LiquidityCoverageRatioUpdated
event LiquidityCoverageRatioUpdated(uint256 liquidityCoverageRatioUpdated);Logs changes to the liquidity coverage ratio
Deposit
event Deposit(address indexed account, uint256 assetAmount, uint256 scaledAmount);Logs deposits to the market.
Borrow
event Borrow(uint256 assetAmount);Logs borrows from the market.
MarketClosed
event MarketClosed(uint256 timestamp);Logs the closure of a market.
FeesCollected
event FeesCollected(uint256 assets);Logs the collection of fees.
StateUpdated
event StateUpdated(uint256 scaleFactor, bool isDelinquent);Logs changes to the market state.
ScaleFactorUpdated
event ScaleFactorUpdated(
uint256 scaleFactor,
uint256 baseInterestRay,
uint256 delinquencyFeeRay,
uint256 protocolFee
);Logs changes to the scale factor.
AuthorizationStatusUpdated
event AuthorizationStatusUpdated(address indexed account, AuthRole role);Logs changes to an account's authorization.
WithdrawalBatchExpired
event WithdrawalBatchExpired(
uint256 expiry,
uint256 scaledTotalAmount,
uint256 scaledAmountBurned,
uint256 normalizedAmountPaid
);Logs withdrawal batch expiration on market state changes.
WithdrawalBatchCreated
event WithdrawalBatchCreated(uint256 expiry);Logs the creation of a withdrawal batch.
WithdrawalBatchClosed
event WithdrawalBatchClosed(uint256 expiry);Logs the closure of a withdrawal batch.
WithdrawalBatchPayment
event WithdrawalBatchPayment(
uint256 expiry,
uint256 scaledAmountBurned,
uint256 normalizedAmountPaid
);Logs the payment of a withdrawal batch.
WithdrawalQueued
event WithdrawalQueued(uint256 expiry, address account, uint256 scaledAmount);Logs queued withdrawals.
WithdrawalExecuted
event WithdrawalExecuted(uint256 expiry, address account, uint256 normalizedAmount);Logs the execution of a withdrawal.
MarketDeployed
event MarketDeployed(address indexed controller, address indexed underlying, address market)Logs the deployment of a new market.
Last updated