UNPKG

@rainfi/sdk

Version:

This package is used to interact with Rain.fi protocol on Solana

47 lines (46 loc) 1.54 kB
/** * 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 PoolCancelProposal * @category generated */ export declare const poolCancelProposalStruct: beet.BeetArgsStruct<{ instructionDiscriminator: number[]; }>; /** * Accounts required by the _poolCancelProposal_ instruction * * @property [_writable_, **signer**] signer * @property [] borrower * @property [] nftMint * @property [_writable_] request * @property [_writable_] pool * @category Instructions * @category PoolCancelProposal * @category generated */ export type PoolCancelProposalInstructionAccounts = { signer: web3.PublicKey; borrower: web3.PublicKey; nftMint: web3.PublicKey; request: web3.PublicKey; pool: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const poolCancelProposalInstructionDiscriminator: number[]; /** * Creates a _PoolCancelProposal_ instruction. * * @param accounts that will be accessed while the instruction is processed * @category Instructions * @category PoolCancelProposal * @category generated */ export declare function createPoolCancelProposalInstruction(accounts: PoolCancelProposalInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;