[js-token-library] add freeze and thaw ix builder functions to module declarations (#851)
This commit is contained in:
parent
90c0481051
commit
4394cb1ebb
|
@ -213,5 +213,19 @@ declare module '@solana/spl-token' {
|
|||
authority: PublicKey,
|
||||
multiSigners: Array<Account>,
|
||||
): TransactionInstruction;
|
||||
static createFreezeAccountInstruction(
|
||||
programId: PublicKey,
|
||||
account: PublicKey,
|
||||
mint: PublicKey,
|
||||
authority: PublicKey,
|
||||
multiSigners: Array<Account>,
|
||||
): TransactionInstruction;
|
||||
static createThawAccountInstruction(
|
||||
programId: PublicKey,
|
||||
account: PublicKey,
|
||||
mint: PublicKey,
|
||||
authority: PublicKey,
|
||||
multiSigners: Array<Account>,
|
||||
): TransactionInstruction;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -205,5 +205,19 @@ declare module '@solana/spl-token' {
|
|||
authority: PublicKey,
|
||||
multiSigners: Array<Account>,
|
||||
): TransactionInstruction;
|
||||
static createFreezeAccountInstruction(
|
||||
programId: PublicKey,
|
||||
account: PublicKey,
|
||||
mint: PublicKey,
|
||||
authority: PublicKey,
|
||||
multiSigners: Array<Account>,
|
||||
): TransactionInstruction;
|
||||
static createThawAccountInstruction(
|
||||
programId: PublicKey,
|
||||
account: PublicKey,
|
||||
mint: PublicKey,
|
||||
authority: PublicKey,
|
||||
multiSigners: Array<Account>,
|
||||
): TransactionInstruction;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue