Interfaces

isharevault

isharevault

Git Source

Functions

payRewards

! The receive function handles mev/validator payments. If if the msg.sender is the block.coinbase, a ValditorPayment should be emitted The profits (less fees) should be updated based on the median validator payment. Otherwise, a MevPayment should be emitted and the fees/profits should be updated based on the medianMevPayment. payRewards()

Function to send rewards to MevEth Contract.

This function is triggered by the owner of the contract and is used to pay rewards to MevETH Contract. In the case of failure, this function sends the funds to the Admin as a fallback.

function payRewards(uint256 rewards) external;

recoverToken

function recoverToken(address token, address recipient, uint256 amount) external;

sendFees

sendFees()

This function should only be called by the contract owner.

Function to send fees to the contract owner.

function sendFees(uint256 fees) external;

setProtocolFeeTo

function setProtocolFeeTo(address newFeeTo) external;

setNewMevEth

setNewMevEth()

Sets the newMevEth address

This function sets the newMevEth address to the address passed in as an argument. This address will be used to store the MEV-ETH tokens.

function setNewMevEth(address newMevEth) external;