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>
parent
1bdfb295
Pipeline
#423755
failed
with stages
in
1 hour, 47 minutes, and 22 seconds
Stage:
Stage:
Stage:
Stage:
Stage:
Stage:
Showing
- Cargo.lock 19 additions, 0 deletionsCargo.lock
- Cargo.toml 1 addition, 0 deletionsCargo.toml
- cumulus/parachains/common/src/polkadot.rs 2 additions, 0 deletionscumulus/parachains/common/src/polkadot.rs
- cumulus/parachains/common/src/westend.rs 2 additions, 0 deletionscumulus/parachains/common/src/westend.rs
- cumulus/parachains/integration-tests/emulated/chains/parachains/collectives/collectives-westend/Cargo.toml 25 additions, 0 deletions...ins/parachains/collectives/collectives-westend/Cargo.toml
- cumulus/parachains/integration-tests/emulated/chains/parachains/collectives/collectives-westend/src/genesis.rs 67 additions, 0 deletions...parachains/collectives/collectives-westend/src/genesis.rs
- cumulus/parachains/integration-tests/emulated/chains/parachains/collectives/collectives-westend/src/lib.rs 51 additions, 0 deletions...ins/parachains/collectives/collectives-westend/src/lib.rs
- cumulus/parachains/integration-tests/emulated/networks/westend-system/Cargo.toml 1 addition, 0 deletions...gration-tests/emulated/networks/westend-system/Cargo.toml
- cumulus/parachains/integration-tests/emulated/networks/westend-system/src/lib.rs 4 additions, 0 deletions...gration-tests/emulated/networks/westend-system/src/lib.rs
- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend/Cargo.toml 1 addition, 0 deletions...-tests/emulated/tests/assets/asset-hub-westend/Cargo.toml
- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend/src/lib.rs 6 additions, 1 deletion...-tests/emulated/tests/assets/asset-hub-westend/src/lib.rs
- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend/src/tests/fellowship_treasury.rs 131 additions, 0 deletions...assets/asset-hub-westend/src/tests/fellowship_treasury.rs
- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend/src/tests/mod.rs 1 addition, 0 deletions.../emulated/tests/assets/asset-hub-westend/src/tests/mod.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/xcm_config.rs 16 additions, 0 deletions...hains/runtimes/assets/asset-hub-westend/src/xcm_config.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/Cargo.toml 8 additions, 0 deletions...hains/runtimes/collectives/collectives-westend/Cargo.toml
- cumulus/parachains/runtimes/collectives/collectives-westend/src/fellowship/mod.rs 119 additions, 9 deletions...mes/collectives/collectives-westend/src/fellowship/mod.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/lib.rs 25 additions, 2 deletions...hains/runtimes/collectives/collectives-westend/src/lib.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/weights/mod.rs 2 additions, 0 deletions...ntimes/collectives/collectives-westend/src/weights/mod.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/weights/pallet_asset_rate.rs 85 additions, 0 deletions...ives/collectives-westend/src/weights/pallet_asset_rate.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/weights/pallet_treasury.rs 214 additions, 0 deletions...ctives/collectives-westend/src/weights/pallet_treasury.rs
Please register or sign in to comment