Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Mar 26, 2024
1 parent 0b3344c commit 2d17fca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 198 deletions.
15 changes: 3 additions & 12 deletions contracts/src/interfaces/IGateway.sol
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ interface IGateway {
/// 1. Delivery costs to BridgeHub
/// 2. XCM execution costs on destinationChain
function quoteSendTokenFee(address token, ParaID destinationChain, uint128 destinationFee)
external
view
returns (uint256);
external
view
returns (uint256);

/// @dev Send ERC20 tokens to parachain `destinationChain` and deposit into account `destinationAddress`
function sendToken(
Expand All @@ -117,13 +117,4 @@ interface IGateway {

/// @dev Get tokenInfo by tokenID
function getTokenInfo(bytes32 tokenID) external view returns (TokenInfo memory);

/// @dev Emitted once the polkadot native tokens are burnt and an outbound message is successfully queued.
event TokenTransfered(
address indexed token,
address indexed sender,
ParaID indexed destinationChain,
MultiAddress destinationAddress,
uint128 amount
);
}
Loading

0 comments on commit 2d17fca

Please sign in to comment.