CCIP v1.5.1 Events API Reference
When invoking the ccipSend function or when a message is executed via ccipReceive, various events are emitted by CCIP contracts. Below is a compiled list of events you can expect during CCIP operations.
ccipSend
These events are emitted when sending a cross-chain message using the ccipSend function.
OnRamp
| Event | Parameters | Description |
|---|---|---|
| CCIPSendRequested | - Internal.EVM2EVMMessage message | Emitted when a CCIP message is successfully sent. |
Token Pool (Send)
| Event | Parameters | Description |
|---|---|---|
| Locked |
- indexed address sender - uint256 amount | Emitted when tokens are locked during a cross-chain transfer. |
| Burned |
- indexed address sender - uint256 amount | Emitted when tokens are burned during a cross-chain transfer. |
ccipReceive
These events are emitted when a cross-chain message is executed on the destination chain.
OffRamp
| Event | Parameters | Description |
|---|---|---|
| ExecutionStateChanged |
- indexed uint64 sequenceNumber - indexed bytes32 messageId - Internal.MessageExecutionState state - bytes returnData | Emitted when a message execution state changes to SUCCESS or FAILURE. |
Router
| Event | Parameters | Description |
|---|---|---|
| MessageExecuted |
- bytes32 messageId - uint64 sourceChainSelector - address offRamp - bytes32 calldataHash | Emitted when the Router successfully routes a message to the receiver. |
Token Pool (Receive)
| Event | Parameters | Description |
|---|---|---|
| Released |
- indexed address sender - indexed address recipient - uint256 amount | Emitted when tokens are released to the receiver on the destination chain. |
| Minted |
- indexed address sender - indexed address recipient - uint256 amount | Emitted when tokens are minted to the receiver on the destination chain. |