Skip to content

I Signal Service

function sendSignal(bytes32 signal) external returns (bytes32 storageSlot)

Send a signal by storing the key with a value of 1.

NameTypeDescription
signalbytes32The signal to send.
NameTypeDescription
storageSlotbytes32The slot in storage that this signal is persisted.
function isSignalSent(address app, bytes32 signal) external view returns (bool)

Check if a signal has been sent (key stored with a value of 1).

NameTypeDescription
appaddressThe address that sent this message.
signalbytes32The signal to check.
function isSignalReceived(uint256 srcChainId, address app, bytes32 signal, bytes proof) external view returns (bool)

Check if signal has been received on the destination chain (current).

NameTypeDescription
srcChainIduint256The source chain ID.
appaddressThe address that sent this message.
signalbytes32The signal to check.
proofbytesThe proof of the signal being sent on the source chain.