Skip to content

Controlled fee xtoken extrinsics#1

Closed
girazoki wants to merge 19 commits intomoonbeam-polkadot-v0.9.12from
girazoki-controlled-free-xtoken-extrinsics
Closed

Controlled fee xtoken extrinsics#1
girazoki wants to merge 19 commits intomoonbeam-polkadot-v0.9.12from
girazoki-controlled-free-xtoken-extrinsics

Conversation

@girazoki
Copy link

This just adds two new extrinsics to be able to provide the fee as a separate argument to the asset to be transferred. For now I assumed both the fee and asset are of the same kind (i.e., you need to use the same asset (but potentially a different amount) to pay for the fee)

* send_as_sovereign as versioned xcm

* format

* format

* cargo fmt

* cargo fmt
@girazoki
Copy link
Author

For now I did not want to be too invasive about xtokens code, and I created new functions for this functionality. If Acala agrees on willing to have this feature in, I can make a good refactor

@girazoki girazoki force-pushed the girazoki-controlled-free-xtoken-extrinsics branch from a53243d to 41634f8 Compare November 26, 2021 10:43
…tion' into girazoki-controlled-free-xtoken-extrinsics
@girazoki
Copy link
Author

Closed in favour of #2

@girazoki girazoki closed this Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants