Skip to content

Commit

Permalink
Update builders/interoperability/xcm/xc-registration/assets.md
Browse files Browse the repository at this point in the history
Co-authored-by: Erin Shaben <[email protected]>
  • Loading branch information
themacexpert and eshaben authored Feb 11, 2025
1 parent a451f9f commit 2611503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builders/interoperability/xcm/xc-registration/assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ yarn calculate-relative-price --help

Submitting a governance proposal on Moonbeam requires two steps: first, submit a preimage that defines the actions to be executed, then use that preimage to submit the proposal. For more details, see the [Governance on Moonbeam](/learn/features/governance/){target=\_blank} page. To submit a preimage for asset registration, you'll need the encoded calldata for both the `evmForeignAssets.createForeignAsset` and `xcmWeightTrader.addAsset` extrinsics. An existing asset's price can be updated with `xcmWeightTrader.editAsset`.

Proposals must be submitted via the `FastGeneralAdmin` track. A channel must be established before an asset can be registered. To get the encoded calldata for the `evmForeignAssets.createForeignAsset` extrinsic, you will need to provide the following arguments:
Proposals must be submitted via the Fast General Admin track. A channel must be established before an asset can be registered. To get the encoded calldata for the `evmForeignAssets.createForeignAsset` extrinsic, you will need to provide the following arguments:

- **`assetId`** - unique identifier of the asset, generated from the [`calculate-external-asset-info.ts`](https://github.com/Moonsong-Labs/xcm-tools/blob/main/scripts/calculate-external-asset-info.ts){target=\_blank} script
- `xcmLocation` - the multilocation of the asset relative to Moonbeam
Expand Down

0 comments on commit 2611503

Please sign in to comment.