Skip to main content

IOverlayerWrapCoreEvents

Received​

event Received(address sender, uint256 amount)

Event emitted when contract receives ETH

Parameters​

NameTypeDescription
senderaddressThe address that sent ETH
amountuint256The amount of ETH received

OverlayerWrapCoreEmergencyStatus​

event OverlayerWrapCoreEmergencyStatus(bool status)

Event for signaling emergency mode status

Parameters​

NameTypeDescription
statusboolTrue if emergency mode is active, false otherwise

Mint​

event Mint(address minter, address benefactor, address beneficiary, address collateral, uint256 collateralAmount, uint256 overlayerWrapAmount)

Event emitted when OverlayerWrap is minted

Parameters​

NameTypeDescription
minteraddressThe address initiating the mint
benefactoraddressThe address providing the collateral
beneficiaryaddressThe address receiving the minted tokens
collateraladdressThe collateral token address
collateralAmountuint256The amount of collateral provided
overlayerWrapAmountuint256The amount of OverlayerWrap minted

Redeem​

event Redeem(address redeemer, address benefactor, address beneficiary, address collateral, uint256 collateralAmount, uint256 overlayerWrapAmount)

Event emitted when funds are redeemed

Parameters​

NameTypeDescription
redeemeraddressThe address initiating the redemption
benefactoraddressThe address providing the OverlayerWrap tokens
beneficiaryaddressThe address receiving the collateral
collateraladdressThe collateral token address
collateralAmountuint256The amount of collateral returned
overlayerWrapAmountuint256The amount of OverlayerWrap burned

MaxMintPerBlockChanged​

event MaxMintPerBlockChanged(uint256 oldMaxMintPerBlock, uint256 newMaxMintPerBlock)

Event emitted when the max mint per block is changed

Parameters​

NameTypeDescription
oldMaxMintPerBlockuint256The previous maximum mint amount per block
newMaxMintPerBlockuint256The new maximum mint amount per block

MaxRedeemPerBlockChanged​

event MaxRedeemPerBlockChanged(uint256 oldMaxRedeemPerBlock, uint256 newMaxRedeemPerBlock)

Event emitted when the max redeem per block is changed

Parameters​

NameTypeDescription
oldMaxRedeemPerBlockuint256The previous maximum redeem amount per block
newMaxRedeemPerBlockuint256The new maximum redeem amount per block

SuppliedToBacking​

event SuppliedToBacking(address supplier, uint256 amountCollateral, uint256 amountACollateral)

Event emitted when collateral has been supplied to the backing contract

Parameters​

NameTypeDescription
supplieraddressThe address supplying the collateral
amountCollateraluint256The amount of collateral supplied
amountACollateraluint256The amount of aToken collateral received

ProposedMaxRedeemPerBlock​

event ProposedMaxRedeemPerBlock(uint256 newValue, uint256 proposedAt)

Event emitted when a new maxRedeemPerBlock is proposed

NativeRescued​

event NativeRescued(address to, uint256 amount)

Emitted when native tokens are rescued from the contract

MaxRedeemWhitelistUpdated​

event MaxRedeemWhitelistUpdated(address user, bool status)

Emitted when a user's maxRedeemPerBlock whitelist status changes