Coda by Ian Macalinao
    Preparing search index...

    Type Alias RewardUserOnceInput<TAccountFarmAdmin, TAccountFarmState, TAccountUserState>

    type RewardUserOnceInput<
        TAccountFarmAdmin extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountFarmState extends InstructionAccountInput = InstructionAccountInput,
        TAccountUserState extends InstructionAccountInput = InstructionAccountInput,
    > = {
        amount: RewardUserOnceInstructionDataArgs["amount"];
        farmAdmin: TAccountFarmAdmin;
        farmState: TAccountFarmState;
        rewardIndex: RewardUserOnceInstructionDataArgs["rewardIndex"];
        userState: TAccountUserState;
    }

    Type Parameters

    • TAccountFarmAdmin extends InstructionSignerInput = InstructionSignerInput
    • TAccountFarmState extends InstructionAccountInput = InstructionAccountInput
    • TAccountUserState extends InstructionAccountInput = InstructionAccountInput
    Index