Bridge
Solidity Interfaces
Pod Bridge
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
interface IPodBridge {
/**
* @dev The event emitted during deposit
* @param id Unique deposit identifier
* @param from Sender of the deposit
* @param to Ethereum recipient address
* @param amount Amount of the deposit
*/
event Deposit(
bytes32 indexed id,
address indexed from,
address indexed to,
address token,
uint256 amount
);
/**
* @dev Deposit to bridge to Ethereum
* @notice Must be submitted via pod_sendRawTransaction
* @param token Token address on Pod
* @param amount Amount of pUSD to bridge
* @param to Ethereum recipient address
* @return id Unique deposit identifier
*/
function deposit(
address token,
uint256 amount,
address to
) external returns (bytes32 id);
}Ethereum Bridge (Deposit + Claim)
Pod → Ethereum Flow
Field
Description
Ethereum → Pod Flow
Last updated

