Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizdave97 committed Oct 12, 2024
1 parent c1fa58b commit 601cd32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/developers/polkadot/tokengateway.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,15 @@ There are three scenarios that you need to understand when creating token gatewa
This would instruct token gateway to not recreate the asset locally.<br/>
* **Registering entirely new assets on token gateway:**<br/>
To register assets that do not exist locally on token gateway, leave the `local_id` field empty when dispatching the extrinsic. Token gateway will create the assets locally before dispatching a request to hyperbridge.<br/>

This requires the `AssetAdmin` account configured for the pallet to have sufficient funds to pay for the asset metadata storage.
Assets can also be updated in the same way by dispatching `update_erc6160_asset`.<br/>

## Asset Ids
Token gateway protocol represents assets ids with a 32 byte hash which is derived from the `keccak256` hash of the asset's symbol.

## Teleporting assets

To make a crosschain transfer the `teleport` called must be dispatched with the required parameters.
To make a crosschain transfer the `teleport` extrinsic should must be dispatched with the correct parameters.

```rust
pub struct TeleportParams<AssetId, Balance> {
Expand Down

0 comments on commit 601cd32

Please sign in to comment.