Westend: Fellowship Treasury (#2532)

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>
This commit is contained in:
Muharem
2023-12-08 14:02:09 +01:00
committed by GitHub
parent 1bdfb29587
commit da40d97a23
26 changed files with 827 additions and 27 deletions
Generated
+19
View File
@@ -885,6 +885,7 @@ dependencies = [
"asset-test-utils",
"cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
"cumulus-pallet-xcmp-queue",
"emulated-integration-tests-common",
"frame-support",
"frame-system",
@@ -2613,6 +2614,21 @@ dependencies = [
"unicode-width",
]
[[package]]
name = "collectives-westend-emulated-chain"
version = "0.0.0"
dependencies = [
"collectives-westend-runtime",
"cumulus-primitives-core",
"emulated-integration-tests-common",
"frame-support",
"parachains-common",
"serde_json",
"sp-core",
"sp-runtime",
"westend-emulated-chain",
]
[[package]]
name = "collectives-westend-runtime"
version = "1.0.0"
@@ -2634,6 +2650,7 @@ dependencies = [
"hex-literal",
"log",
"pallet-alliance",
"pallet-asset-rate",
"pallet-aura",
"pallet-authorship",
"pallet-balances",
@@ -2653,6 +2670,7 @@ dependencies = [
"pallet-timestamp",
"pallet-transaction-payment",
"pallet-transaction-payment-rpc-runtime-api",
"pallet-treasury",
"pallet-utility",
"pallet-xcm",
"parachains-common",
@@ -21049,6 +21067,7 @@ version = "0.0.0"
dependencies = [
"asset-hub-westend-emulated-chain",
"bridge-hub-westend-emulated-chain",
"collectives-westend-emulated-chain",
"emulated-integration-tests-common",
"penpal-emulated-chain",
"westend-emulated-chain",