Skip to content

Commit

Permalink
Fix interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ezynda3 committed Feb 13, 2025
1 parent aa8b393 commit c353f90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 5 additions & 3 deletions docs/ChainflipFacet.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ The methods listed above take a variable labeled `_chainflipData`. This data is

```solidity
struct ChainflipData {
uint32 dstToken; // Token identifier on the destination chain
bytes32 nonEvmAddress; // Destination address for non-EVM chains (Solana, Bitcoin)
bytes cfParameters; // Additional parameters for future features
uint32 dstToken; // Token identifier on the destination chain
bytes32 nonEvmAddress; // Destination address for non-EVM chains (Solana, Bitcoin)
bytes cfParameters; // Additional parameters for future features
}
```

Expand All @@ -40,6 +40,8 @@ The facet supports the following chains with their respective IDs:
- Solana (1151111081099710)
- Bitcoin (20000000000001)

[Reference](https://docs.chainflip.io/swapping/integrations/advanced/vault-swaps#supported-chains)

## Swap Data

Some methods accept a `SwapData _swapData` parameter.
Expand Down
4 changes: 0 additions & 4 deletions src/Interfaces/IChainflip.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@ pragma solidity ^0.8.17;

import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

/// @custom:version 1.0.0
interface IChainflipVault {
function xSwapNative(
function xSwapNative(
uint32 dstChain,
bytes calldata dstAddress,
Expand Down

0 comments on commit c353f90

Please sign in to comment.