Skip to content

Type Alias: ClawbackInput<TAccountDistributor, TAccountFrom, TAccountTo, TAccountClaimant, TAccountSystemProgram, TAccountTokenProgram>

ts
type ClawbackInput<TAccountDistributor, TAccountFrom, TAccountTo, TAccountClaimant, TAccountSystemProgram, TAccountTokenProgram> = object;

Type Parameters

Type ParameterDefault type
TAccountDistributor extends stringstring
TAccountFrom extends stringstring
TAccountTo extends stringstring
TAccountClaimant extends stringstring
TAccountSystemProgram extends stringstring
TAccountTokenProgram extends stringstring

Properties

claimant

ts
claimant: TransactionSigner<TAccountClaimant>;

Claimant account Anyone can claw back the funds


distributor

ts
distributor: Address<TAccountDistributor>;

The [MerkleDistributor].


from

ts
from: Address<TAccountFrom>;

Distributor ATA containing the tokens to distribute.


systemProgram?

ts
optional systemProgram: Address<TAccountSystemProgram>;

The [System] program.


to

ts
to: Address<TAccountTo>;

The Clawback token account.


tokenProgram?

ts
optional tokenProgram: Address<TAccountTokenProgram>;

SPL [Token] program.