Skip to content
LogoLogo

PriorityFeeUpdates

Git Source

Funded priority amendments, linked separately to keep the hook within EIP-170.

Functions

topUp

The hook admits only its trusted Router, which authenticates the maker and pays the delta.

function topUp(
        AsyncFiller.State storage self,
        AsyncFiller.Book storage book,
        PoolId poolId,
        bytes32 id,
        uint256 addedFee
    ) public;

Parameters

NameTypeDescription
selfAsyncFiller.State
bookAsyncFiller.Book
poolIdPoolId
idbytes32
addedFeeuint256

Events

AsyncOrderPriorityFeeUpdated

event AsyncOrderPriorityFeeUpdated(
        PoolId indexed poolId, bytes32 indexed orderId, uint256 addedFee, uint256 newPriorityFee
    );

Parameters

NameTypeDescription
poolIdPoolId
orderIdbytes32
addedFeeuint256
newPriorityFeeuint256