Structs§
Functions§
- check_
fee_ hits_ min_ rent - extract_
bid_ from_ submit_ bid_ ix - Extracts the bid paid from a
SubmitBidinstruction. - get_
matching_ submit_ bid_ instructions - Performs instruction introspection to retrieve a vector of
SubmitBidinstructions in the current transaction. Ifpermission_infois specified, only instructions with matching permission and router accounts are returned. - handle_
bid_ payment - inspect_
permissions_ in_ tx - Performs instruction introspection on the current transaction to query SubmitBid instructions that match the specified permission and router.
Returns the number of matching instructions and the total fees paid to the router.
The
config_routerandexpress_relay_metadataaccounts passed inpermission_infoare assumed to have already been validated. Note these are not validated in this function. - perform_
fee_ splits - Performs fee splits on a bid amount. Returns amount to pay to router and amount to pay to relayer.
- transfer_
lamports - transfer_
lamports_ cpi - validate_
fee_ split