Events

Git Source

Contains event definitions for bridge operations

Events

BridgeRequest

Emitted when a new bridge request is created

event BridgeRequest(
    address indexed user,
    address indexed tokenAddress,
    uint256 indexed bridgeRequestId,
    uint256 amountIn,
    uint256 amountOut,
    address destinationVault,
    address destinationAddress,
    uint256 transferIndex
);

Parameters

NameTypeDescription
useraddressThe address of the user initiating the bridge request
tokenAddressaddressThe address of the token to be bridged
bridgeRequestIduint256The unique ID of the bridge request
amountInuint256The amount of tokens to be bridged
amountOutuint256The amount of tokens expected at the destination
destinationVaultaddressThe address of the destination vault
destinationAddressaddressThe address of the recipient at the destination
transferIndexuint256The transfer index for unique tracking

AVSAttestation

Emitted when an attestation is published by an AVS operator

event AVSAttestation(bytes indexed attestation, uint256 indexed bridgeRequestId, uint256 indexed operatorWeight);

Parameters

NameTypeDescription
attestationbytesThe attestation data
bridgeRequestIduint256The ID of the bridge request
operatorWeightuint256The weight of the operator attesting

FundsReleased

Emitted when funds are released to the destination address

event FundsReleased(address indexed destinationVault, address indexed destinationAddress, uint256 indexed amountOut);

Parameters

NameTypeDescription
destinationVaultaddressThe address of the destination vault
destinationAddressaddressThe address of the recipient at the destination
amountOutuint256The amount of tokens released