Trait ibc_test_framework::chain::ext::transfer::ChainTransferMethodsExt    
source · pub trait ChainTransferMethodsExt<Chain> {
    // Required methods
    fn ibc_transfer_token<Counterparty>(
        &self,
        port_id: &TaggedPortIdRef<'_, Chain, Counterparty>,
        channel_id: &TaggedChannelIdRef<'_, Chain, Counterparty>,
        sender: &MonoTagged<Chain, &Wallet>,
        recipient: &MonoTagged<Counterparty, &WalletAddress>,
        token: &TaggedTokenRef<'_, Chain>
    ) -> Result<Packet, Error>;
    fn ibc_transfer_token_with_memo_and_timeout<Counterparty>(
        &self,
        port_id: &TaggedPortIdRef<'_, Chain, Counterparty>,
        channel_id: &TaggedChannelIdRef<'_, Chain, Counterparty>,
        sender: &MonoTagged<Chain, &Wallet>,
        recipient: &MonoTagged<Counterparty, &WalletAddress>,
        token: &TaggedTokenRef<'_, Chain>,
        memo: Option<String>,
        timeout: Option<Duration>
    ) -> Result<Packet, Error>;
    fn ibc_transfer_token_multiple<Counterparty>(
        &self,
        port_id: &TaggedPortIdRef<'_, Chain, Counterparty>,
        channel_id: &TaggedChannelIdRef<'_, Chain, Counterparty>,
        sender: &MonoTagged<Chain, &Wallet>,
        recipient: &MonoTagged<Counterparty, &WalletAddress>,
        token: &TaggedTokenRef<'_, Chain>,
        num_msgs: usize,
        memo: Option<String>
    ) -> Result<(), Error>;
    fn local_transfer_token(
        &self,
        sender: &MonoTagged<Chain, &Wallet>,
        recipient: &MonoTagged<Chain, &WalletAddress>,
        token: &TaggedTokenRef<'_, Chain>
    ) -> Result<(), Error>;
}Required Methods§
sourcefn ibc_transfer_token<Counterparty>(
    &self,
    port_id: &TaggedPortIdRef<'_, Chain, Counterparty>,
    channel_id: &TaggedChannelIdRef<'_, Chain, Counterparty>,
    sender: &MonoTagged<Chain, &Wallet>,
    recipient: &MonoTagged<Counterparty, &WalletAddress>,
    token: &TaggedTokenRef<'_, Chain>
) -> Result<Packet, Error>
 
fn ibc_transfer_token<Counterparty>( &self, port_id: &TaggedPortIdRef<'_, Chain, Counterparty>, channel_id: &TaggedChannelIdRef<'_, Chain, Counterparty>, sender: &MonoTagged<Chain, &Wallet>, recipient: &MonoTagged<Counterparty, &WalletAddress>, token: &TaggedTokenRef<'_, Chain> ) -> Result<Packet, Error>
Submits an IBC token transfer transaction to Chain to any other
Counterparty chain.
The following parameters are accepted:
- 
A
PortIdonChainthat corresponds to a channel connected toCounterparty. - 
A
ChannelIdonChainthat corresponds to a channel connected toCounterparty. - 
The
Walletof the sender onChain. - 
The
WalletAddressaddress of the recipient onCounterparty. - 
The denomination of the amount on
Chain. - 
The transfer amount.