Function pallet_rings::pallet::dispatchables::bridge_assets
source · pub fn bridge_assets<T: Config>(
asset: <<T as Config>::Chains as ChainList>::ChainAssets,
destination: <<<T as Config>::Chains as ChainList>::ChainAssets as ChainAssetsList>::Chains,
fee: u128,
amount: u128,
to: Option<<T as Config>::AccountId>,
)
Expand description
Bridge fungible assets to another chain.
The origin has to be a core.
asset
: asset to bridge and the chain to bridge from.destination
: destination chain.fee
: fee amount.amount
: amount to bridge.to
: account receiving the asset, None defaults to core account.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::bridge_assets
.