UNPKG

@hawksightco/swagger-client

Version:

OpenAPI client for Hawksight v2 Public API

94 lines (83 loc) 2.31 kB
/* tslint:disable */ /* eslint-disable */ /** * Hawksight API * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 0.0.1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { PriorityLevel } from './priority-level'; /** * * * @export * @interface AutomationRebalanceAutomationIxBody */ export interface AutomationRebalanceAutomationIxBody { /** * @type {PriorityLevel} * @memberof AutomationRebalanceAutomationIxBody */ priority?: PriorityLevel; /** * Optional. Max lamports to consume for priority fee. * * @type {number} * @memberof AutomationRebalanceAutomationIxBody */ maxPriorityFee?: number; /** * Whether to disable computing priority fees. True by default which means it ignores priority parameter. * * @type {boolean} * @memberof AutomationRebalanceAutomationIxBody */ disableFeeCompute?: boolean; /** * User's wallet address who owns the position. * * @type {string} * @memberof AutomationRebalanceAutomationIxBody */ userWallet?: string; /** * Current user's position address from Meteora. * * @type {string} * @memberof AutomationRebalanceAutomationIxBody */ currentPosition?: string; /** * New user's position address from Meteora. * * @type {string} * @memberof AutomationRebalanceAutomationIxBody */ newPosition?: string; /** * Lower range of the bin for the position. * * @type {number} * @memberof AutomationRebalanceAutomationIxBody */ lowerBinRange?: number; /** * Upper range of the bin for the position. * * @type {number} * @memberof AutomationRebalanceAutomationIxBody */ upperBinRange?: number; /** * X and Y token distribution. At the moment, we support default meteora distribution functions: SPOT, CURVE, BID-ASK, SPOT-IMBALANCED, CURVE-IMBALANCED, BID-ASK-IMBALANCED * * @type {string} * @memberof AutomationRebalanceAutomationIxBody */ distribution?: string; }