Skip to content

Commit

Permalink
docs: fix some typos (#470)
Browse files Browse the repository at this point in the history
Signed-off-by: oftenoccur <[email protected]>
  • Loading branch information
oftenoccur authored Apr 12, 2024
1 parent 8e30bfb commit 37a7e6f
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/extension/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The [@polkadot/extension-dapp](https://www.npmjs.com/package/@polkadot/extension

- `web3Enable(dappName: string): Promise<InjectedExtension[]>` - to be called before anything else, retrieves the list of all injected extensions/providers
- `web3Accounts(): Promise<InjectedAccountWithMeta[]>` - returns a list of all the injected accounts, across all extensions (source in meta)
- `web3AccountsSubscribe(cb: (accounts: InjectedAccountWithMeta[]) => any): Promise<Unsubcall>` - subscribes to the accounts accross all extensions, returning a full list as changes are made
- `web3AccountsSubscribe(cb: (accounts: InjectedAccountWithMeta[]) => any): Promise<Unsubcall>` - subscribes to the accounts across all extensions, returning a full list as changes are made
- `web3FromAddress(address: string): Promise<InjectedExtension>` - Retrieves a provider for a specific address
- `web3FromSource(name: string): Promise<InjectedExtension>` - Retrieves a provider identified by the name
- `isWeb3Injected: boolean` - boolean to indicate if `injectedWeb3` was found on the page
Expand Down
2 changes: 1 addition & 1 deletion docs/kusama/constants.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ ___

### maxRegistrars: `u32`
- **interface**: `api.consts.identity.maxRegistrars`
- **summary**: Maxmimum number of registrars allowed in the system. Needed to bound the complexity of, e.g., updating judgements.
- **summary**: Maximum number of registrars allowed in the system. Needed to bound the complexity of, e.g., updating judgements.

### maxSubAccounts: `u32`
- **interface**: `api.consts.identity.maxSubAccounts`
Expand Down
4 changes: 2 additions & 2 deletions docs/kusama/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ ___
- **interface**: `api.events.electionProviderMultiPhase.SolutionStored.is`
- **summary**: A solution was stored with the given compute.

The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`, the stored solution was submited in the signed phase by a miner with the `AccountId`. Otherwise, the solution was stored either during the unsigned phase or by `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make room for this one.
The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`, the stored solution was submitted in the signed phase by a miner with the `AccountId`. Otherwise, the solution was stored either during the unsigned phase or by `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make room for this one.

___

Expand Down Expand Up @@ -680,7 +680,7 @@ ___

### Transferred(`AccountId32`, `AccountId32`, `u32`)
- **interface**: `api.events.nis.Transferred.is`
- **summary**: A receipt was transfered.
- **summary**: A receipt was transferred.

___

Expand Down
2 changes: 1 addition & 1 deletion docs/polkadot/constants.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ ___

### maxRegistrars: `u32`
- **interface**: `api.consts.identity.maxRegistrars`
- **summary**: Maxmimum number of registrars allowed in the system. Needed to bound the complexity of, e.g., updating judgements.
- **summary**: Maximum number of registrars allowed in the system. Needed to bound the complexity of, e.g., updating judgements.

### maxSubAccounts: `u32`
- **interface**: `api.consts.identity.maxSubAccounts`
Expand Down
2 changes: 1 addition & 1 deletion docs/polkadot/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ ___
- **interface**: `api.events.electionProviderMultiPhase.SolutionStored.is`
- **summary**: A solution was stored with the given compute.

The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`, the stored solution was submited in the signed phase by a miner with the `AccountId`. Otherwise, the solution was stored either during the unsigned phase or by `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make room for this one.
The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`, the stored solution was submitted in the signed phase by a miner with the `AccountId`. Otherwise, the solution was stored either during the unsigned phase or by `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make room for this one.

___

Expand Down
2 changes: 1 addition & 1 deletion docs/substrate/constants.md
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ ___

### maxRegistrars: `u32`
- **interface**: `api.consts.identity.maxRegistrars`
- **summary**: Maxmimum number of registrars allowed in the system. Needed to bound the complexity of, e.g., updating judgements.
- **summary**: Maximum number of registrars allowed in the system. Needed to bound the complexity of, e.g., updating judgements.

### maxSubAccounts: `u32`
- **interface**: `api.consts.identity.maxSubAccounts`
Expand Down
2 changes: 1 addition & 1 deletion docs/substrate/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2998,7 +2998,7 @@ ___

### MissingStateData
- **interface**: `api.errors.transactionStorage.MissingStateData.is`
- **summary**: Unable to verify proof becasue state data is missing.
- **summary**: Unable to verify proof because state data is missing.

### NotConfigured
- **interface**: `api.errors.transactionStorage.NotConfigured.is`
Expand Down
4 changes: 2 additions & 2 deletions docs/substrate/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ ___
- **interface**: `api.events.electionProviderMultiPhase.SolutionStored.is`
- **summary**: A solution was stored with the given compute.

The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`, the stored solution was submited in the signed phase by a miner with the `AccountId`. Otherwise, the solution was stored either during the unsigned phase or by `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make room for this one.
The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`, the stored solution was submitted in the signed phase by a miner with the `AccountId`. Otherwise, the solution was stored either during the unsigned phase or by `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make room for this one.

___

Expand Down Expand Up @@ -1358,7 +1358,7 @@ ___

### Transferred(`AccountId32`, `AccountId32`, `u32`)
- **interface**: `api.events.nis.Transferred.is`
- **summary**: A receipt was transfered.
- **summary**: A receipt was transferred.

___

Expand Down

0 comments on commit 37a7e6f

Please sign in to comment.