UNPKG

@rainfi/sdk

Version:

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

55 lines (54 loc) 1.89 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 SyncColletaralVault * @category generated */ export declare const syncColletaralVaultStruct: beet.BeetArgsStruct<{ instructionDiscriminator: number[]; }>; /** * Accounts required by the _syncColletaralVault_ instruction * * @property [_writable_, **signer**] signer * @property [_writable_] poolOwner * @property [_writable_] authority * @property [_writable_] loan * @property [_writable_] newLoan * @property [_writable_] collateralVaultTa * @property [_writable_] newCollateralVaultTa * @property [] collateralCurrency * @category Instructions * @category SyncColletaralVault * @category generated */ export type SyncColletaralVaultInstructionAccounts = { signer: web3.PublicKey; poolOwner: web3.PublicKey; authority: web3.PublicKey; loan: web3.PublicKey; newLoan: web3.PublicKey; collateralVaultTa: web3.PublicKey; newCollateralVaultTa: web3.PublicKey; collateralCurrency: web3.PublicKey; systemProgram?: web3.PublicKey; tokenProgram?: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const syncColletaralVaultInstructionDiscriminator: number[]; /** * Creates a _SyncColletaralVault_ instruction. * * @param accounts that will be accessed while the instruction is processed * @category Instructions * @category SyncColletaralVault * @category generated */ export declare function createSyncColletaralVaultInstruction(accounts: SyncColletaralVaultInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;