PriorityFeeUpdates
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
| Name | Type | Description |
|---|---|---|
| self | AsyncFiller.State | |
| book | AsyncFiller.Book | |
| poolId | PoolId | |
| id | bytes32 | |
| addedFee | uint256 |
Events
AsyncOrderPriorityFeeUpdated
event AsyncOrderPriorityFeeUpdated(
PoolId indexed poolId, bytes32 indexed orderId, uint256 addedFee, uint256 newPriorityFee
);Parameters
| Name | Type | Description |
|---|---|---|
| poolId | PoolId | |
| orderId | bytes32 | |
| addedFee | uint256 | |
| newPriorityFee | uint256 |