diff --git a/precompiles/xcm/XCM_v2.sol b/precompiles/xcm/XCM_v2.sol index f9afcfdc2a..fe5d61091d 100644 --- a/precompiles/xcm/XCM_v2.sol +++ b/precompiles/xcm/XCM_v2.sol @@ -35,7 +35,9 @@ interface XCM { /// @param currencyAddress The ERC20 address of the currency we want to transfer /// @param amount The amount of tokens we want to transfer /// @param destination The Multilocation to which we want to send the tokens - /// @param weight The weight we want to buy in the destination chain + /// @param weight The weight we want to buy in the destination chain, to provide + /// unlimited weight, you should use maximum u64 value (i.e. 18446744073709551615 ) + /// for ref_time function transfer( address currencyAddress, uint256 amount, @@ -49,7 +51,9 @@ interface XCM { /// @param currencyAddress The ERC20 address of the currency we want to transfer /// @param amount The amount of tokens we want to transfer /// @param destination The Multilocation to which we want to send the tokens - /// @param weight The weight we want to buy in the destination chain + /// @param weight The weight we want to buy in the destination chain, to provide + /// unlimited weight, you should use maximum u64 value (i.e. 18446744073709551615 ) + /// for ref_time function transfer_with_fee( address currencyAddress, uint256 amount, @@ -65,7 +69,9 @@ interface XCM { /// Currently only Concrete Fungible assets /// @param amount The amount of tokens we want to transfer /// @param destination The Multilocation to which we want to send the tokens - /// @param weight The weight we want to buy in the destination chain + /// @param weight The weight we want to buy in the destination chain, to provide + /// unlimited weight, you should use maximum u64 value (i.e. 18446744073709551615 ) + /// for ref_time function transfer_multiasset( Multilocation memory asset, uint256 amount, @@ -80,7 +86,9 @@ interface XCM { /// Currently only Concrete Fungible assets /// @param amount The amount of tokens we want to transfer /// @param destination The Multilocation to which we want to send the tokens - /// @param weight The weight we want to buy in the destination chain + /// @param weight The weight we want to buy in the destination chain, to provide + /// unlimited weight, you should use maximum u64 value (i.e. 18446744073709551615 ) + /// for ref_time function transfer_multiasset_with_fee( Multilocation memory asset, uint256 amount, @@ -95,7 +103,9 @@ interface XCM { /// @param currencies The currencies we want to transfer, defined by their address and amount. /// @param feeItem Which of the currencies to be used as fee /// @param destination The Multilocation to which we want to send the tokens - /// @param weight The weight we want to buy in the destination chain + /// @param weight The weight we want to buy in the destination chain, to provide + /// unlimited weight, you should use maximum u64 value (i.e. 18446744073709551615 ) + /// for ref_time function transfer_multi_currencies( Currency[] memory currencies, uint32 feeItem, @@ -109,7 +119,9 @@ interface XCM { /// @param assets The assets we want to transfer, defined by their location and amount. /// @param feeItem Which of the currencies to be used as fee /// @param destination The Multilocation to which we want to send the tokens - /// @param weight The weight we want to buy in the destination chain + /// @param weight The weight we want to buy in the destination chain, to provide + /// unlimited weight, you should use maximum u64 value (i.e. 18446744073709551615 ) + /// for ref_time function transfer_multi_assets( EvmMultiAsset[] memory assets, uint32 feeItem,