/** * 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'; /** * @category Instructions * @category UpdateStats * @category generated */ export type UpdateStatsInstructionArgs = { currentLoan: beet.bignum; currentMortgage: beet.bignum; totalVolumeBorrower: beet.bignum; totalVolumePool: beet.bignum; points: beet.bignum; creditScore: beet.bignum; }; /** * @category Instructions * @category UpdateStats * @category generated */ export declare const updateStatsStruct: beet.BeetArgsStruct; /** * Accounts required by the _updateStats_ instruction * * @property [_writable_, **signer**] signer * @property [_writable_] userStats * @category Instructions * @category UpdateStats * @category generated */ export type UpdateStatsInstructionAccounts = { signer: web3.PublicKey; userStats: web3.PublicKey; systemProgram?: web3.PublicKey; rent?: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const updateStatsInstructionDiscriminator: number[]; /** * Creates a _UpdateStats_ instruction. * * @param accounts that will be accessed while the instruction is processed * @param args to provide as instruction data to the program * * @category Instructions * @category UpdateStats * @category generated */ export declare function createUpdateStatsInstruction(accounts: UpdateStatsInstructionAccounts, args: UpdateStatsInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;