Skip to content

Commit

Permalink
cleaning interface
Browse files Browse the repository at this point in the history
  • Loading branch information
gitofdeepanshu committed Oct 2, 2023
1 parent 379ea27 commit 1066173
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions precompiles/xcm/XCM.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ pragma solidity ^0.8.0;
*/
interface XCM {
/**
* @dev Withdraw assets using PalletXCM call.
* @param asset_id - list of XC20 asset addresses
* @param asset_amount - list of transfer amounts (must match with asset addresses above)
* @param recipient_account_id - SS58 public key of the destination account
Expand All @@ -28,7 +27,6 @@ interface XCM {
) external returns (bool);

/**
* @dev Withdraw assets using PalletXCM call.
* @param asset_id - list of XC20 asset addresses
* @param asset_amount - list of transfer amounts (must match with asset addresses above)
* @param recipient_account_id - ETH address of the destination account
Expand All @@ -51,7 +49,6 @@ interface XCM {
) external returns (bool);

/**
* @dev Execute a transaction on a remote chain.
* @param parachain_id - destination parachain Id (ignored if is_relay is true)
* @param is_relay - if true, destination is relay_chain, if false it is parachain (see previous argument)
* @param payment_asset_id - ETH address of the local asset derivate used to pay for execution in the destination chain
Expand All @@ -70,7 +67,6 @@ interface XCM {
) external returns (bool);

/**
* @dev Reserve transfer assets using PalletXCM call.
* @param asset_id - list of XC20 asset addresses
* @param asset_amount - list of transfer amounts (must match with asset addresses above)
* @param recipient_account_id - SS58 public key of the destination account
Expand All @@ -93,7 +89,6 @@ interface XCM {
) external returns (bool);

/**
* @dev Reserve transfer using PalletXCM call.
* @param asset_id - list of XC20 asset addresses
* @param asset_amount - list of transfer amounts (must match with asset addresses above)
* @param recipient_account_id - ETH address of the destination account
Expand Down
4 changes: 0 additions & 4 deletions precompiles/xcm/XCM_v2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ interface XCM {
}

/**
* @dev Withdraw assets using PalletXCM call.
* @param asset_id - list of XC20 asset addresses
* @param asset_amount - list of transfer amounts (must match with asset addresses above)
* @param beneficiary - Multilocation of beneficiary in respect to destination parachain
Expand All @@ -37,7 +36,6 @@ interface XCM {
) external returns (bool);

/**
* @dev Execute a transaction on a remote chain.
* @param destination - Multilocation of destination chain
* @param payment_asset_id - Address of the local asset derivate used to pay for execution in the destination chain
* @param payment_amount - amount of payment asset to use for execution payment - should cover cost of XCM instructions + Transact call weight.
Expand All @@ -54,7 +52,6 @@ interface XCM {
) external returns (bool);

/**
* @dev Reserve transfer assets using PalletXCM call.
* @param asset_id - list of XC20 asset addresses
* @param asset_amount - list of transfer amounts (must match with asset addresses above)
* @param beneficiary - Multilocation of beneficiary in respect to destination parachain
Expand All @@ -74,7 +71,6 @@ interface XCM {
) external returns (bool);

/**
* @dev send xcm using PalletXCM call.
* @param destination - Multilocation of destination chain where to send this call
* @param xcm_call - encoded xcm call you want to send to destination
**/
Expand Down

0 comments on commit 1066173

Please sign in to comment.