diff --git a/programs/program-manager/README.md b/programs/program-manager/README.md index ff3b51a..ba27783 100644 --- a/programs/program-manager/README.md +++ b/programs/program-manager/README.md @@ -4,7 +4,7 @@ * [Instructions](#instructions) ### Overview -The Program Manager is a simple program used to save upgrade instructions for a program managed by a Squads MPL Authority. Members of a Squad multisig can keep track of programs and upgrade buffers by invoking the various instructions provided by the program. Note, the Program Manger simply stores data about programs and their upgrades, it does not invoke any upgrade instructions on its own, but merely provides convenience for storing information about Programs that wish to be managed by a Squad multisig. +The Program Manager is a simple program used to save upgrade instructions for a program managed by a Squads MPL Authority. Members of a Squad multisig can keep track of programs and upgrade buffers by invoking the various instructions provided by the program. Note, the Program Manager simply stores data about programs and their upgrades, it does not invoke any upgrade instructions on its own, but merely provides convenience for storing information about Programs that wish to be managed by a Squad multisig. ### Accounts The Program Manager has 3 types of accounts: ProgramManager, ManagedProgram, and ProgramUpgrade. In order to use the Program Manager, a member of a Squads multisig should first create a ProgramManager account derived from the Squad PDA. The ProgramManager account will keep track of Programs with the `managed_program_index`, which is used to derive the MangedProgram account address. ManagedProgram accounts simply track the address of a program being managed by the Squad, along with an upgrade_index to further track corresponding upgrade instructions. ProgramUpgrade accounts store data about a specific upgrade along with the actual upgrade instruction itself. diff --git a/sdk/lib/idl/squads_mpl.d.ts b/sdk/lib/idl/squads_mpl.d.ts index 0f75f91..9f430a9 100644 --- a/sdk/lib/idl/squads_mpl.d.ts +++ b/sdk/lib/idl/squads_mpl.d.ts @@ -49,7 +49,7 @@ export declare type SquadsMpl = { "name": "addMember"; "docs": [ "The instruction to add a new member to the multisig.", - "Adds member/key to the multisig and reallocates space if neccessary", + "Adds member/key to the multisig and reallocates space if necessary", "If the multisig needs to be reallocated, it must be prefunded with", "enough lamports to cover the new size." ]; @@ -351,8 +351,8 @@ export declare type SquadsMpl = { "docs": [ "Instruction to cancel a transaction.", "Transactions must be in the \"executeReady\" status.", - "Transaction will only be cancelled if the number of", - "cancellations reaches the threshold. A cancelled", + "Transaction will only be canceled if the number of", + "cancellations reaches the threshold. A canceled ", "transaction will no longer be able to be executed." ]; "accounts": [ @@ -418,7 +418,7 @@ export declare type SquadsMpl = { "docs": [ "Instruction to sequentially execute attached instructions.", "Instructions executed in this matter must be executed in order,", - "this may be helpful for processing large batch transfers.", + "this may help process large batch transfers.", "This instruction can only be used for transactions with an authority", "index of 1 or greater.", "", @@ -572,7 +572,7 @@ export declare type SquadsMpl = { "name": "msInstruction"; "docs": [ "The state account for an instruction that is attached to a transaction.", - "Almost analagous to the native Instruction struct for solana, but with an extra", + "Almost analogous to the native Instruction struct for solana, but with an extra", "field for the bump." ]; "type": {