Skip to content

Events ​

Git Source

Inherits:Structs

Events ​

LogUpdateAuths ​

emitted when allowed auths are updated

solidity
event LogUpdateAuths(AddressBool[] authsStatus);

LogUpdateGuardians ​

emitted when allowed guardians are updated

solidity
event LogUpdateGuardians(AddressBool[] guardiansStatus);

LogUpdateRevenueCollector ​

emitted when revenue collector address is updated

solidity
event LogUpdateRevenueCollector(address indexed revenueCollector);

LogChangeStatus ​

emitted when status is changed (paused / unpaused)

solidity
event LogChangeStatus(uint256 indexed newStatus);

LogUpdateUserClasses ​

emitted when user classes are updated

solidity
event LogUpdateUserClasses(AddressUint256[] userClasses);

LogUpdateTokenConfigs ​

emitted when token configs are updated

solidity
event LogUpdateTokenConfigs(TokenConfig[] tokenConfigs);

LogUpdateUserSupplyConfigs ​

emitted when user supply configs are updated

solidity
event LogUpdateUserSupplyConfigs(UserSupplyConfig[] userSupplyConfigs);

LogUpdateUserBorrowConfigs ​

emitted when user borrow configs are updated

solidity
event LogUpdateUserBorrowConfigs(UserBorrowConfig[] userBorrowConfigs);

LogPauseUser ​

emitted when a user gets certain tokens paused

solidity
event LogPauseUser(address user, address[] supplyTokens, address[] borrowTokens);

LogUnpauseUser ​

emitted when a user gets certain tokens unpaused

solidity
event LogUnpauseUser(address user, address[] supplyTokens, address[] borrowTokens);

LogUpdateRateDataV1s ​

emitted when token rate data is updated with rate data v1

solidity
event LogUpdateRateDataV1s(RateDataV1Params[] tokenRateDatas);

LogUpdateRateDataV2s ​

emitted when token rate data is updated with rate data v2

solidity
event LogUpdateRateDataV2s(RateDataV2Params[] tokenRateDatas);

LogCollectRevenue ​

emitted when revenue is collected

solidity
event LogCollectRevenue(address indexed token, uint256 indexed amount);

LogUpdateExchangePrices ​

emitted when exchange prices and borrow rate are updated

solidity
event LogUpdateExchangePrices(
    address indexed token,
    uint256 indexed supplyExchangePrice,
    uint256 indexed borrowExchangePrice,
    uint256 borrowRate,
    uint256 utilization
);

LogUpdateUserWithdrawalLimit ​

emitted when user withdrawal limit is updated

solidity
event LogUpdateUserWithdrawalLimit(address user, address token, uint256 newLimit);