Coda by Ian Macalinao
    Preparing search index...

    Interface LockedVoterPluginInstructions

    interface LockedVoterPluginInstructions {
        activateProposal: (
            input: ActivateProposalInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                ReadonlyAccount<string>,
                ReadonlyAccount<string>,
                WritableAccount<string>,
                ReadonlyAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        approveProgramLockPrivilege: (
            input: MakeOptional<
                ApproveProgramLockPrivilegeInput<
                    string,
                    string,
                    string,
                    string,
                    string,
                    string,
                    string,
                    string,
                >,
                "payer",
            >,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                ReadonlyAccount<string>,
                WritableAccount<string>,
                ReadonlyAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                ReadonlyAccount<string>,
                ReadonlyAccount<string>,
                AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        castVote: (
            input: CastVoteInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                ReadonlyAccount<string>,
                ReadonlyAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
                WritableAccount<string>,
                ReadonlyAccount<string>,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        exit: (
            input: MakeOptional<
                ExitInput<string, string, string, string, string, string, string>,
                "payer",
            >,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                WritableAccount<string>,
                WritableAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
                WritableAccount<string>,
                AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        lock: (
            input: LockInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                WritableAccount<string>,
                WritableAccount<string>,
                WritableAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        lockPermissionless: (
            input: LockPermissionlessInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                WritableAccount<string>,
                WritableAccount<string>,
                WritableAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        lockWithWhitelist: (
            input: LockWithWhitelistInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                WritableAccount<string>,
                WritableAccount<string>,
                WritableAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
                ReadonlyAccount<string>,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        lockWithWhitelistEntry: (
            input: LockWithWhitelistEntryInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                WritableAccount<string>,
                WritableAccount<string>,
                WritableAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
                ReadonlyAccount<string>,
                ReadonlyAccount<string>,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        newEscrow: (
            input: MakeOptional<
                NewEscrowInput<string, string, string, string, string>,
                "payer",
            >,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                ReadonlyAccount<string>,
                WritableAccount<string>,
                ReadonlyAccount<string>,
                AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        newLocker: (
            input: MakeOptional<
                NewLockerInput<string, string, string, string, string, string>,
                "payer",
            >,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        revokeProgramLockPrivilege: (
            input: MakeOptional<
                RevokeProgramLockPrivilegeInput<
                    string,
                    string,
                    string,
                    string,
                    string,
                >,
                "payer",
            >,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                ReadonlyAccount<string>,
                WritableAccount<string>,
                ReadonlyAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
            ],
        > & SelfPlanAndSendFunctions;
        setLockerParams: (
            input: SetLockerParamsInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                WritableAccount<string>,
                ReadonlyAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
            ],
        > & SelfPlanAndSendFunctions;
        setVoteDelegate: (
            input: SetVoteDelegateInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                WritableAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
            ],
        > & SelfPlanAndSendFunctions;
    }
    Index

    Properties

    activateProposal: (
        input: ActivateProposalInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            ReadonlyAccount<string>,
            ReadonlyAccount<string>,
            WritableAccount<string>,
            ReadonlyAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    approveProgramLockPrivilege: (
        input: MakeOptional<
            ApproveProgramLockPrivilegeInput<
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
            >,
            "payer",
        >,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            ReadonlyAccount<string>,
            WritableAccount<string>,
            ReadonlyAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            ReadonlyAccount<string>,
            ReadonlyAccount<string>,
            AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    castVote: (
        input: CastVoteInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            ReadonlyAccount<string>,
            ReadonlyAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
            WritableAccount<string>,
            ReadonlyAccount<string>,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    exit: (
        input: MakeOptional<
            ExitInput<string, string, string, string, string, string, string>,
            "payer",
        >,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            WritableAccount<string>,
            WritableAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
            WritableAccount<string>,
            AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    lock: (
        input: LockInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            WritableAccount<string>,
            WritableAccount<string>,
            WritableAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    lockPermissionless: (
        input: LockPermissionlessInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            WritableAccount<string>,
            WritableAccount<string>,
            WritableAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    lockWithWhitelist: (
        input: LockWithWhitelistInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            WritableAccount<string>,
            WritableAccount<string>,
            WritableAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
            ReadonlyAccount<string>,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    lockWithWhitelistEntry: (
        input: LockWithWhitelistEntryInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            WritableAccount<string>,
            WritableAccount<string>,
            WritableAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
            ReadonlyAccount<string>,
            ReadonlyAccount<string>,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    newEscrow: (
        input: MakeOptional<
            NewEscrowInput<string, string, string, string, string>,
            "payer",
        >,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            ReadonlyAccount<string>,
            WritableAccount<string>,
            ReadonlyAccount<string>,
            AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    newLocker: (
        input: MakeOptional<
            NewLockerInput<string, string, string, string, string, string>,
            "payer",
        >,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    revokeProgramLockPrivilege: (
        input: MakeOptional<
            RevokeProgramLockPrivilegeInput<string, string, string, string, string>,
            "payer",
        >,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            ReadonlyAccount<string>,
            WritableAccount<string>,
            ReadonlyAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
        ],
    > & SelfPlanAndSendFunctions
    setLockerParams: (
        input: SetLockerParamsInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            WritableAccount<string>,
            ReadonlyAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
        ],
    > & SelfPlanAndSendFunctions
    setVoteDelegate: (
        input: SetVoteDelegateInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            WritableAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
        ],
    > & SelfPlanAndSendFunctions