Function ibc_test_framework::ibc::denom::derive_ibc_denom
source · [−]pub fn derive_ibc_denom<ChainA, ChainB>(
port_id: &TaggedPortIdRef<'_, ChainB, ChainA>,
channel_id: &TaggedChannelIdRef<'_, ChainB, ChainA>,
denom: &TaggedDenomRef<'_, ChainA>
) -> Result<TaggedDenom<ChainB>, Error>Expand description
A tagged version of derive_ibc_denom
from the ibc module.
Derives the denom on ChainB based on a denom on ChainA that has been
transferred to ChainB via IBC.
Accepts the following arguments:
-
A
PortIdonChainBthat corresponds to a channel connected toChainA. -
A
ChannelIdonChainBthat corresponds to a channel connected toChainA. -
The original denomination on
ChainA.
Returns the derived denomination on ChainB.