Created
April 19, 2025 08:51
-
-
Save muddlebee/5a4b653ed2c94bf4849e706557d3b6e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| XcmVersionedXcm.V4([ | |
| XcmV4Instruction.WithdrawAsset([{ | |
| id: dot_loc, | |
| fun: XcmV3MultiassetFungibility.Fungible(withdrawAmount) | |
| }]), | |
| XcmV4Instruction.BuyExecution({ | |
| fees: { | |
| id: dot_loc, | |
| fun: XcmV3MultiassetFungibility.Fungible(final_fees) | |
| }, | |
| weight_limit: XcmV3WeightLimit.Unlimited() | |
| }), | |
| XcmV4Instruction.Transact({ | |
| origin_kind: XcmV2OriginKind.SovereignAccount(), | |
| require_weight_at_most: { | |
| ref_time: remarkWeight.weight.ref_time, | |
| proof_size: remarkWeight.weight.proof_size | |
| }, | |
| call: encodedRemarkHex | |
| }); | |
| ]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment