Skip to content
Lattice

IERC7786Attributes

Git Source

Title: IERC7786Attributes

Author: Vendored from OpenZeppelin community-contracts (commit f7e5f08, MIT)

(https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/f7e5f08e8fd42023084eb41f4a992d7be897b915/contracts/interfaces/IERC7786Attributes.sol).

Non-standardized ERC-7786 attribute selectors. requestRelay carries relay gas parameters for gateways (e.g. Wormhole) that charge for delivery. The selector 0x4cbb573a is used as the attribute key. This is NOT yet a finalized standard — treat as unstable.

Functions

requestRelay

Relay-request attribute: deliver with value + gasLimit, refunding to refundRecipient.

function requestRelay(uint256 value, uint256 gasLimit, address refundRecipient) external;

Parameters

NameTypeDescription
valueuint256
gasLimituint256
refundRecipientaddress