/** * 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 { ParticipateArgs } from '../types/ParticipateArgs'; /** * @category Instructions * @category Participate * @category generated */ export type ParticipateInstructionArgs = { args: ParticipateArgs; }; /** * @category Instructions * @category Participate * @category generated */ export declare const participateStruct: beet.FixableBeetArgsStruct; /** * Accounts required by the _participate_ instruction * * @property [] global * @property [_writable_] project * @property [] missionPool * @property [_writable_] mission * @property [] characterModel * @property [_writable_] characterMerkleTree * @property [] profileMerkleTree * @property [_writable_] resource * @property [_writable_] mint * @property [_writable_] tokenAccount * @property [_writable_] resourceBurnerDestination (optional) * @property [_writable_, **signer**] authority * @property [] delegateAuthority (optional) * @property [_writable_, **signer**] payer * @property [_writable_] vault * @property [] compressionProgram * @property [] hiveControl * @property [] characterManager * @property [] associatedTokenProgram * @property [] resourceManagerProgram * @property [] clock * @property [] rentSysvar * @property [] instructionsSysvar * @property [] logWrapper * @category Instructions * @category Participate * @category generated */ export type ParticipateInstructionAccounts = { global: web3.PublicKey; project: web3.PublicKey; missionPool: web3.PublicKey; mission: web3.PublicKey; characterModel: web3.PublicKey; characterMerkleTree: web3.PublicKey; profileMerkleTree: web3.PublicKey; resource: web3.PublicKey; mint: web3.PublicKey; tokenAccount: web3.PublicKey; resourceBurnerDestination?: web3.PublicKey; authority: web3.PublicKey; delegateAuthority?: web3.PublicKey; payer: web3.PublicKey; vault: web3.PublicKey; systemProgram?: web3.PublicKey; compressionProgram: web3.PublicKey; hiveControl: web3.PublicKey; characterManager: web3.PublicKey; tokenProgram?: web3.PublicKey; associatedTokenProgram: web3.PublicKey; resourceManagerProgram: web3.PublicKey; clock: web3.PublicKey; rentSysvar: web3.PublicKey; instructionsSysvar: web3.PublicKey; logWrapper: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const participateInstructionDiscriminator: number[]; /** * Creates a _Participate_ 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 Participate * @category generated */ export declare function createParticipateInstruction(accounts: ParticipateInstructionAccounts, args: ParticipateInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;