Coda by Ian Macalinao
    Preparing search index...

    Interface DepositObligationCollateralInput<TAccountOwner, TAccountObligation, TAccountLendingMarket, TAccountDepositReserve, TAccountReserveDestinationCollateral, TAccountUserSourceCollateral, TAccountTokenProgram, TAccountInstructionSysvarAccount>

    interface DepositObligationCollateralInput<
        TAccountOwner extends string = string,
        TAccountObligation extends string = string,
        TAccountLendingMarket extends string = string,
        TAccountDepositReserve extends string = string,
        TAccountReserveDestinationCollateral extends string = string,
        TAccountUserSourceCollateral extends string = string,
        TAccountTokenProgram extends string = string,
        TAccountInstructionSysvarAccount extends string = string,
    > {
        collateralAmount: number | bigint;
        depositReserve: Address<TAccountDepositReserve>;
        instructionSysvarAccount?: Address<TAccountInstructionSysvarAccount>;
        lendingMarket: Address<TAccountLendingMarket>;
        obligation: Address<TAccountObligation>;
        owner: TransactionSigner<TAccountOwner>;
        reserveDestinationCollateral: Address<TAccountReserveDestinationCollateral>;
        tokenProgram?: Address<TAccountTokenProgram>;
        userSourceCollateral: Address<TAccountUserSourceCollateral>;
    }

    Type Parameters

    • TAccountOwner extends string = string
    • TAccountObligation extends string = string
    • TAccountLendingMarket extends string = string
    • TAccountDepositReserve extends string = string
    • TAccountReserveDestinationCollateral extends string = string
    • TAccountUserSourceCollateral extends string = string
    • TAccountTokenProgram extends string = string
    • TAccountInstructionSysvarAccount extends string = string
    Index

    Properties

    collateralAmount: number | bigint
    depositReserve: Address<TAccountDepositReserve>
    instructionSysvarAccount?: Address<TAccountInstructionSysvarAccount>
    lendingMarket: Address<TAccountLendingMarket>
    obligation: Address<TAccountObligation>
    owner: TransactionSigner<TAccountOwner>
    reserveDestinationCollateral: Address<TAccountReserveDestinationCollateral>
    tokenProgram?: Address<TAccountTokenProgram>
    userSourceCollateral: Address<TAccountUserSourceCollateral>