Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-tribeca
LockedVoterPluginInstructions
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
activate
Proposal
approve
Program
Lock
Privilege
cast
Vote
exit
lock
lock
Permissionless
lock
With
Whitelist
lock
With
Whitelist
Entry
new
Escrow
new
Locker
revoke
Program
Lock
Privilege
set
Locker
Params
set
Vote
Delegate
Properties
activate
Proposal
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
approve
Program
Lock
Privilege
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
cast
Vote
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
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
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
lock
Permissionless
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
lock
With
Whitelist
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
lock
With
Whitelist
Entry
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
new
Escrow
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
new
Locker
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
revoke
Program
Lock
Privilege
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
set
Locker
Params
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
set
Vote
Delegate
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
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
activate
Proposal
approve
Program
Lock
Privilege
cast
Vote
exit
lock
lock
Permissionless
lock
With
Whitelist
lock
With
Whitelist
Entry
new
Escrow
new
Locker
revoke
Program
Lock
Privilege
set
Locker
Params
set
Vote
Delegate
Coda by Ian Macalinao
Loading...