From a199acbc028c250234e9b0ee652ac7233e0fe196 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Feb 2023 08:51:11 +0100 Subject: [PATCH] applying prettier to entire repo (#4512) Co-authored-by: Polkadot-Kusama Bot --- docs/build/build-data.md | 12 ++++++++---- docs/general/wallets.md | 7 ++++--- docs/learn/learn-assets.md | 5 +++-- docs/learn/learn-opengov.md | 34 ++++++++++++++++++---------------- docs/learn/learn-treasury.md | 18 +++++++++--------- 5 files changed, 42 insertions(+), 34 deletions(-) diff --git a/docs/build/build-data.md b/docs/build/build-data.md index bb236ca0fdb1..7934401fdaf7 100644 --- a/docs/build/build-data.md +++ b/docs/build/build-data.md @@ -26,16 +26,20 @@ out-of-the-box, and can be further extended with custom GraphQL resolvers. ### SubQuery -[SubQuery](https://subquery.network/) is a fast, flexible, and reliable open-source data indexer that provides you with custom APIs for your Substrate/Polkadot project. We build the best, fully-featured indexer, so you don’t have to, with: +[SubQuery](https://subquery.network/) is a fast, flexible, and reliable open-source data indexer +that provides you with custom APIs for your Substrate/Polkadot project. We build the best, +fully-featured indexer, so you don’t have to, with: + - automatic support for any Substrate network - support for all Polkadot smart contract frameworks (FrontierEVM, Acala EVM+, and Wasm) - automated historical state tracking to enable faster partial re-indexing - a lightweight and portable design that doesn't require centralised archives - full support for GraphQL filtering, pagination, interfaces, subscriptions, and aggregations -- a future decentralized network acts as chain-agnostic data aggregation, indexing, and querying layer between blockchains and applications that will not require centralised services. - -To start building, head to the [SubQuery documentation](https://academy.subquery.network/) where you'll find quick start guides and walkthrough developer tutorials. +- a future decentralized network acts as chain-agnostic data aggregation, indexing, and querying + layer between blockchains and applications that will not require centralised services. +To start building, head to the [SubQuery documentation](https://academy.subquery.network/) where +you'll find quick start guides and walkthrough developer tutorials. ### Web3Go diff --git a/docs/general/wallets.md b/docs/general/wallets.md index 52dca37d2a36..677f97b55492 100644 --- a/docs/general/wallets.md +++ b/docs/general/wallets.md @@ -99,9 +99,10 @@ custom remote nodes, phishing detection, QR account import, export/import/derive ### SubWallet A non-custodial Polkadot, Substrate & Ethereum wallet. Track, send, receive and monitor multi-chain -assets on 150+ networks. Import account with seedphrase, private key, QR-code, JSON file. Import token & NFT, attach read-only account. XCM Transfer, NFT Management, Parity Signer & Ledger support, light clients -support, EVM DApp support, MetaMask compatibility, custom -endpoints, fiat on-ramp, phishing detection, transaction history. SubWallet received funding from Polkadot Treasury +assets on 150+ networks. Import account with seedphrase, private key, QR-code, JSON file. Import +token & NFT, attach read-only account. XCM Transfer, NFT Management, Parity Signer & Ledger support, +light clients support, EVM DApp support, MetaMask compatibility, custom endpoints, fiat on-ramp, +phishing detection, transaction history. SubWallet received funding from Polkadot Treasury [[1](https://polkadot.polkassembly.io/treasury/138), [2](https://polkadot.polkassembly.io/treasury/162), [3](https://polkadot.polkassembly.io/treasury/218)]. diff --git a/docs/learn/learn-assets.md b/docs/learn/learn-assets.md index 9a47ec9f3b4f..235d887c7090 100644 --- a/docs/learn/learn-assets.md +++ b/docs/learn/learn-assets.md @@ -113,8 +113,9 @@ Before transferring a non-sufficient asset, ensure the receiver account has enou the existential deposit and transaction fees for future transfers. Failing to do so will cause the asset transfer to fail. The transfer will be successful for sufficient assets, but without {{ polkadot: DOT :polkadot }}{{ kusama: KSM :kusama }} tokens, you will not be able to transfer -those assets from the receiver account through Polkadot-JS UI. The feature request to [enable -sufficient assets for transaction fee payment on Polkadot-JS UI](https://github.com/polkadot-js/apps/issues/7812) is yet to be implemented. +those assets from the receiver account through Polkadot-JS UI. The feature request to +[enable sufficient assets for transaction fee payment on Polkadot-JS UI](https://github.com/polkadot-js/apps/issues/7812) +is yet to be implemented. ::: diff --git a/docs/learn/learn-opengov.md b/docs/learn/learn-opengov.md index babbf23e8f03..31a846c07d98 100644 --- a/docs/learn/learn-opengov.md +++ b/docs/learn/learn-opengov.md @@ -146,9 +146,9 @@ For additional details, see the #### Public Referenda -In Governance V1, anyone can propose a referendum by depositing the minimum amount of tokens for a certain period -(number of blocks). If someone agrees with the proposal, they may deposit the same amount of tokens -to show support +In Governance V1, anyone can propose a referendum by depositing the minimum amount of tokens for a +certain period (number of blocks). If someone agrees with the proposal, they may deposit the same +amount of tokens to show support - this action is called _endorsing_. The proposal with the highest amount of bonded support will be selected to be a referendum in the next voting cycle. @@ -158,7 +158,8 @@ accounts bonding {{ polkadot: 20 DOT each would "outweigh" ten accounts bonding a single DOT each. :polkadot }} {{ kusama: 3 KSM each would "outweigh" six accounts bonding 0.5 KSM each. :kusama }} -The bonded tokens will be released once the proposal is tabled (that is, when it is brought to a vote). +The bonded tokens will be released once the proposal is tabled (that is, when it is brought to a +vote). For Governance v1, there can be a maximum of {{ polkadot: :polkadot }} @@ -166,28 +167,29 @@ For Governance v1, there can be a maximum of public proposals in the proposal queue. In OpenGov, when a referendum is initially created, it can be immediately voted on by the community. -However, it is not immediately in a state where it can end, or otherwise have its votes counted, be approved and -summarily enacted. Instead, referenda must fulfil a number of criteria before they are moved into a -state known as **Deciding**. Until they are in the initial state, they remain undecided. +However, it is not immediately in a state where it can end, or otherwise have its votes counted, be +approved and summarily enacted. Instead, referenda must fulfil a number of criteria before they are +moved into a state known as **Deciding**. Until they are in the initial state, they remain +undecided. The criteria for entering the **Deciding** state is a follows: 1. A **lead-in period** that outlines the amount of time that must elapse before deciding can begin. - This helps mitigate against the possibility of "decision sniping" where an attacker controlling - a substantial amount of voting power might seek to have a proposal passed immediately after + This helps mitigate against the possibility of "decision sniping" where an attacker controlling a + substantial amount of voting power might seek to have a proposal passed immediately after proposing, not allowing the overall voting population adequate time to consider and participate. 2. There must be room for the decision. All Tracks specify their own limit on the number of referenda which can be decided simultaneously. Tracks that have more potent abilities will have lower limits. For example, the Root level Origin has a limit of one, implying that only a single proposal may be decided on at once. -3. A **Decision Deposit** must be submitted. Creating a referendum is cheap as the deposit value consists - of only the value required for the on-chain storage needed to track it. But, having a referendum - reviewed and decided upon carries the risk of using up the limited spots available in the - referenda queue. It makes sense to have a larger, but refundable deposit requirement to help +3. A **Decision Deposit** must be submitted. Creating a referendum is cheap as the deposit value + consists of only the value required for the on-chain storage needed to track it. But, having a + referendum reviewed and decided upon carries the risk of using up the limited spots available in + the referenda queue. It makes sense to have a larger, but refundable deposit requirement to help mitigate spam. - -Once the three criteria listed above are met, the referendum moves to the **Deciding** state. -The votes of the referendum are now counted towards the outcome. + +Once the three criteria listed above are met, the referendum moves to the **Deciding** state. The +votes of the referendum are now counted towards the outcome. #### Council Referenda (v1) diff --git a/docs/learn/learn-treasury.md b/docs/learn/learn-treasury.md index db9b2edb5614..1195a35b46eb 100644 --- a/docs/learn/learn-treasury.md +++ b/docs/learn/learn-treasury.md @@ -97,17 +97,17 @@ proposal, they will probably need to find an off-chain way to explain the propos takes place on the following platforms: - Many community members participate in discussion in the -{{ polkadot: [Polkadot Watercooler](https://matrix.to/#/#polkadot-watercooler:web3.foundation) and :polkadot }} -{{ kusama: [Kusama Direction room](https://matrix.to/#/#kusama:matrix.parity.io) and the :kusama }} -{{ polkadot: [Polkadot Direction room](https://matrix.to/#/#polkadot-direction:matrix.parity.io). :polkadot }} -{{ kusama: [Kusama Watercooler](https://matrix.to/#/#kusamawatercooler:polkadot.builders). :kusama }} -- The [Polkassembly](https://polkassembly.io) and [SubSquare](https://www.subsquare.io/) discussion platforms - automatically read proposals from the chain, turning them into discussion - threads and allow users to log in with their Web3 address. It also offers a sentiment gauge poll to get a feel + {{ polkadot: [Polkadot Watercooler](https://matrix.to/#/#polkadot-watercooler:web3.foundation) and :polkadot }} + {{ kusama: [Kusama Direction room](https://matrix.to/#/#kusama:matrix.parity.io) and the :kusama }} + {{ polkadot: [Polkadot Direction room](https://matrix.to/#/#polkadot-direction:matrix.parity.io). :polkadot }} + {{ kusama: [Kusama Watercooler](https://matrix.to/#/#kusamawatercooler:polkadot.builders). :kusama }} +- The [Polkassembly](https://polkassembly.io) and [SubSquare](https://www.subsquare.io/) discussion + platforms automatically read proposals from the chain, turning them into discussion threads and + allow users to log in with their Web3 address. It also offers a sentiment gauge poll to get a feel for a proposal before committing to a vote. -Spreading the word about the proposal's explanation to the community is ultimately up to the proposer. - +Spreading the word about the proposal's explanation to the community is ultimately up to the +proposer. ### Creating the Proposal