mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 22:41:02 +00:00
da40d97a23
Treasury Pallet Instance for the Fellowship in Westend Collectives. In this update, we present a Treasury Pallet Instance that is under the control of the Fellowship body, with oversight from the Root and Treasurer origins. Here's how it is governed: - the Root origin have the authority to reject or approve spend proposals, with no amount limit for approvals. - the Treasurer origin have the authority to reject or approve spend proposals, with approval limits of up to 10,000,000 DOT. - Voice of all Fellows ranked at 3 or above can reject or approve spend proposals, with a maximum approval limit of 10,000 DOT. - Voice of Fellows ranked at 4 or above can also reject or approve spend proposals, with a maximum approval limit of 10,000,000 DOT. Additionally, we introduce the Asset Rate Pallet Instance to establish conversion rates from asset A to B. This is used to determine if a proposed spend amount involving a non-native asset is permissible by the commanding origin. The rates can be set up by the Root, Treasurer origins, or Voice of all Fellows. --------- Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: joepetrowski <joe@parity.io>
43 lines
2.8 KiB
TOML
43 lines
2.8 KiB
TOML
[package]
|
|
name = "asset-hub-westend-integration-tests"
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
description = "Asset Hub Westend runtime integration tests with xcm-emulator"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.4.0", default-features = false }
|
|
assert_matches = "1.5.0"
|
|
|
|
# Substrate
|
|
sp-runtime = { path = "../../../../../../../substrate/primitives/runtime", default-features = false }
|
|
frame-support = { path = "../../../../../../../substrate/frame/support", default-features = false }
|
|
frame-system = { path = "../../../../../../../substrate/frame/system", default-features = false }
|
|
pallet-balances = { path = "../../../../../../../substrate/frame/balances", default-features = false }
|
|
pallet-assets = { path = "../../../../../../../substrate/frame/assets", default-features = false }
|
|
pallet-asset-conversion = { path = "../../../../../../../substrate/frame/asset-conversion", default-features = false }
|
|
pallet-treasury = { path = "../../../../../../../substrate/frame/treasury", default-features = false }
|
|
pallet-asset-rate = { path = "../../../../../../../substrate/frame/asset-rate", default-features = false }
|
|
pallet-message-queue = { path = "../../../../../../../substrate/frame/message-queue", default-features = false }
|
|
|
|
# Polkadot
|
|
polkadot-runtime-common = { path = "../../../../../../../polkadot/runtime/common" }
|
|
xcm = { package = "staging-xcm", path = "../../../../../../../polkadot/xcm", default-features = false }
|
|
xcm-builder = { package = "staging-xcm-builder", path = "../../../../../../../polkadot/xcm/xcm-builder", default-features = false }
|
|
xcm-executor = { package = "staging-xcm-executor", path = "../../../../../../../polkadot/xcm/xcm-executor", default-features = false }
|
|
pallet-xcm = { path = "../../../../../../../polkadot/xcm/pallet-xcm", default-features = false }
|
|
westend-runtime = { path = "../../../../../../../polkadot/runtime/westend" }
|
|
westend-runtime-constants = { path = "../../../../../../../polkadot/runtime/westend/constants", default-features = false }
|
|
|
|
# Cumulus
|
|
parachains-common = { path = "../../../../../../parachains/common" }
|
|
asset-hub-westend-runtime = { path = "../../../../../runtimes/assets/asset-hub-westend" }
|
|
asset-test-utils = { path = "../../../../../runtimes/assets/test-utils" }
|
|
cumulus-pallet-dmp-queue = { default-features = false, path = "../../../../../../pallets/dmp-queue" }
|
|
cumulus-pallet-xcmp-queue = { default-features = false, path = "../../../../../../pallets/xcmp-queue" }
|
|
cumulus-pallet-parachain-system = { default-features = false, path = "../../../../../../pallets/parachain-system" }
|
|
emulated-integration-tests-common = { path = "../../../common", default-features = false }
|
|
westend-system-emulated-network = { path = "../../../networks/westend-system" }
|