/** * This code was GENERATED using the solita package. * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality. * * See: https://github.com/metaplex-foundation/solita */ import * as beet from '@metaplex-foundation/beet'; import * as web3 from '@solana/web3.js'; import { CollectRewardsArgs } from '../types/CollectRewardsArgs'; /** * @category Instructions * @category CollectRewards * @category generated */ export type CollectRewardsInstructionArgs = { args: CollectRewardsArgs; }; /** * @category Instructions * @category CollectRewards * @category generated */ export declare const collectRewardsStruct: beet.FixableBeetArgsStruct; /** * Accounts required by the _collectRewards_ instruction * * @property [] global * @property [] characterModel * @property [_writable_] project * @property [] missionPool * @property [_writable_] mission * @property [_writable_] mint (optional) * @property [_writable_] resource (optional) * @property [_writable_] tokenAccount (optional) * @property [_writable_] resourceVault (optional) * @property [_writable_, **signer**] owner * @property [**signer**] authority * @property [_writable_, **signer**] payer * @property [] delegateAuthority (optional) * @property [_writable_] vault * @property [_writable_] characterMerkleTree * @property [_writable_] profileMerkleTree * @property [] hiveControl * @property [] characterManager * @property [] resourceManagerProgram * @property [] compressionProgram * @property [] rentSysvar * @property [] instructionsSysvar * @property [] associatedTokenProgram * @property [] clock * @property [] logWrapper * @category Instructions * @category CollectRewards * @category generated */ export type CollectRewardsInstructionAccounts = { global: web3.PublicKey; characterModel: web3.PublicKey; project: web3.PublicKey; missionPool: web3.PublicKey; mission: web3.PublicKey; mint?: web3.PublicKey; resource?: web3.PublicKey; tokenAccount?: web3.PublicKey; resourceVault?: web3.PublicKey; owner: web3.PublicKey; authority: web3.PublicKey; payer: web3.PublicKey; delegateAuthority?: web3.PublicKey; vault: web3.PublicKey; characterMerkleTree: web3.PublicKey; profileMerkleTree: web3.PublicKey; systemProgram?: web3.PublicKey; hiveControl: web3.PublicKey; characterManager: web3.PublicKey; resourceManagerProgram: web3.PublicKey; compressionProgram: web3.PublicKey; tokenProgram?: web3.PublicKey; rentSysvar: web3.PublicKey; instructionsSysvar: web3.PublicKey; associatedTokenProgram: web3.PublicKey; clock: web3.PublicKey; logWrapper: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const collectRewardsInstructionDiscriminator: number[]; /** * Creates a _CollectRewards_ instruction. * * Optional accounts that are not provided default to the program ID since * this was indicated in the IDL from which this instruction was generated. * * @param accounts that will be accessed while the instruction is processed * @param args to provide as instruction data to the program * * @category Instructions * @category CollectRewards * @category generated */ export declare function createCollectRewardsInstruction(accounts: CollectRewardsInstructionAccounts, args: CollectRewardsInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;