wstUsdcBridge

Overview

The canonical bridge for wstUsdc that will be deployed on all networks.

Contract API

bridgeWstUsdc

function bridgeWstUsdc(
    uint32 dstEid,
    bytes32 destinationAddress,
    uint256 wstUsdcAmount,
    LzSettings calldata settings
) external payable returns (LzBridgeReceipt memory bridgingReceipt)

Bridges wstUsdc to the destination chain, designated by its dstEid.

getStUsdc

function stUsdc() external view returns (address)

Returns the address of stUsdc .

getWstUsdc

function wstUsdc() external view returns (address)

Returns the address for wstUsdc.

getBridgeByEid

function bridgeByEid(uint32 eid) external view returns (address)

Returns the address of the wstUsdc bridge contract for the given endpoint Id, eid.

Last updated