diff --git a/docs/src/token.mdx b/docs/src/token.mdx index 270bb96ec68..e5f5ec6a2d2 100644 --- a/docs/src/token.mdx +++ b/docs/src/token.mdx @@ -1874,7 +1874,7 @@ Unlocking works by pushing a permissionless crank on the contract that moves the - Audit: The audit was conducted by Kudelski, the report can be found [here](https://github.com/Bonfida/token-vesting/blob/master/audit/Bonfida_SecurityAssessment_Vesting_Final050521.pdf) #### 2) Streamflow Timelock -Enables creation, withdrawal, cancelation and transfer of token vesting contracts using time-based lock and escrow accounts. +Enables creation, withdrawal, cancellation and transfer of token vesting contracts using time-based lock and escrow accounts. Contracts are by default cancelable by the creator and transferable by the recipient. Vesting contract creator chooses various options upon creation, such as: diff --git a/docs/src/transfer-hook-interface/specification.md b/docs/src/transfer-hook-interface/specification.md index 723920e01b5..47570f4694f 100644 --- a/docs/src/transfer-hook-interface/specification.md +++ b/docs/src/transfer-hook-interface/specification.md @@ -36,7 +36,7 @@ The next two instructions of the interface deal with these configurations. ### (Optional) Instruction: `InitializeExtraAccountMetaList` -This instruction does exactly what the name implies: it intializes the +This instruction does exactly what the name implies: it initializes the validation account to store a list of extra required [`AccountMeta`](https://docs.rs/solana-program/latest/solana_program/instruction/struct.AccountMeta.html) configurations for the `Execute` instruction. diff --git a/single-pool/js/packages/modern/src/quarantine.ts b/single-pool/js/packages/modern/src/quarantine.ts index be688b48156..3784589ff91 100644 --- a/single-pool/js/packages/modern/src/quarantine.ts +++ b/single-pool/js/packages/modern/src/quarantine.ts @@ -7,7 +7,7 @@ import { } from '@solana/web3.js'; // HERE BE DRAGONS -// this is all the stuff that shouldnt be in our library once we can import from elsewhere +// this is all the stuff that shouldn't be in our library once we can import from elsewhere export const SYSTEM_PROGRAM_ID = address('11111111111111111111111111111111'); export const STAKE_PROGRAM_ID = address('Stake11111111111111111111111111111111111111'); diff --git a/single-pool/program/tests/helpers/mod.rs b/single-pool/program/tests/helpers/mod.rs index a56a072c291..a884750886e 100644 --- a/single-pool/program/tests/helpers/mod.rs +++ b/single-pool/program/tests/helpers/mod.rs @@ -431,7 +431,7 @@ where }; // this silly thing is because we can guarantee From has a Debug for T - // but TryFrom produces Result and E may not have Debug. so we cant + // but TryFrom produces Result and E may not have Debug. so we can't // call unwrap also we use TryFrom because we have to go `instruction // error-> program error` because StakeError impls the former but not the // latter... and that conversion is merely surjective........ diff --git a/token/program-2022/src/extension/mod.rs b/token/program-2022/src/extension/mod.rs index 1d9a86d6a17..0cfc0cbdc8f 100644 --- a/token/program-2022/src/extension/mod.rs +++ b/token/program-2022/src/extension/mod.rs @@ -604,7 +604,7 @@ pub trait BaseStateWithExtensionsMut: BaseStateWithExtensions { Ok(extension_ref) } - /// Reallocate and overwite the TLV entry for the given variable-length + /// Reallocate and overwrite the TLV entry for the given variable-length /// extension. /// /// Returns an error if the extension is not present, or if there is not