Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Asset Conversion Subscriptions #101

Open
joepetrowski opened this issue Jul 18, 2023 · 2 comments
Open

Allow Asset Conversion Subscriptions #101

joepetrowski opened this issue Jul 18, 2023 · 2 comments
Labels
I5-enhancement An additional feature request.

Comments

@joepetrowski
Copy link
Contributor

In support of a multi-asset treasury, the Asset Rate pallet needs updates about the ratio of its budgeting unit (on Polkadot, DOT) and other assets that are acceptable for proposals.

This pallet contains several origins, most notably the Update Origin, which can update the ratio for a given asset. The location with the Asset Rate pallet should be able to subscribe to regular updates over XCM from a location with a means of providing updated rates, in this case the Asset Hub with the Asset Conversion pallet.

This could be a general "Subscriptions pallet", but for the immediate use case, the most important is to be able to schedule regular messages (say, every hour) for a set of assets.

@bkchr
Copy link
Member

bkchr commented Jul 19, 2023

Sounds like it could use #606?

@joepetrowski
Copy link
Contributor Author

Yeah I had not seen that. In this case though it doesn't need a (k, v), it needs the return of the get_reserves runtime API so that it can convert the (Balance, Balance) return to a rate.

@joepetrowski joepetrowski transferred this issue from paritytech/cumulus Aug 24, 2023
@the-right-joyce the-right-joyce added I5-enhancement An additional feature request. and removed J0-enhancement labels Aug 25, 2023
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 8, 2024
* Use `CallRequest` type from rust-web3 crate

* Change CallRequest's `to` field to be optional

Required due to changes in upstream `rust-web3` crate.
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 8, 2024
* Use `CallRequest` type from rust-web3 crate

* Change CallRequest's `to` field to be optional

Required due to changes in upstream `rust-web3` crate.
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* Use `CallRequest` type from rust-web3 crate

* Change CallRequest's `to` field to be optional

Required due to changes in upstream `rust-web3` crate.
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* Use `CallRequest` type from rust-web3 crate

* Change CallRequest's `to` field to be optional

Required due to changes in upstream `rust-web3` crate.
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* Use `CallRequest` type from rust-web3 crate

* Change CallRequest's `to` field to be optional

Required due to changes in upstream `rust-web3` crate.
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* Use `CallRequest` type from rust-web3 crate

* Change CallRequest's `to` field to be optional

Required due to changes in upstream `rust-web3` crate.
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* Use `CallRequest` type from rust-web3 crate

* Change CallRequest's `to` field to be optional

Required due to changes in upstream `rust-web3` crate.
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* Use `CallRequest` type from rust-web3 crate

* Change CallRequest's `to` field to be optional

Required due to changes in upstream `rust-web3` crate.
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 10, 2024
* Use `CallRequest` type from rust-web3 crate

* Change CallRequest's `to` field to be optional

Required due to changes in upstream `rust-web3` crate.
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 10, 2024
* Use `CallRequest` type from rust-web3 crate

* Change CallRequest's `to` field to be optional

Required due to changes in upstream `rust-web3` crate.
jonathanudd pushed a commit to jonathanudd/polkadot-sdk that referenced this issue Apr 10, 2024
* Use `CallRequest` type from rust-web3 crate

* Change CallRequest's `to` field to be optional

Required due to changes in upstream `rust-web3` crate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I5-enhancement An additional feature request.
Projects
None yet
Development

No branches or pull requests

3 participants