@safe-global/safe-gateway-typescript-sdk
    Preparing search index...

    Type Alias TwapOrder

    TwapOrder: Omit<BaseOrder, "executedBuyAmount" | "executedSellAmount"> & {
        durationOfPart: DurationOfPart;
        executedBuyAmount: null | string;
        executedSellAmount: null | string;
        minPartLimit: string;
        numberOfParts: string;
        partSellAmount: string;
        startTime: StartTime;
        timeBetweenParts: number;
        type: TWAP_ORDER;
    }

    Type declaration

    • durationOfPart: DurationOfPart

      Whether the TWAP is valid for the entire interval or not

    • executedBuyAmount: null | string

      The executed buy token raw amount (no decimals)

    • executedSellAmount: null | string

      The executed sell token raw amount (no decimals)

    • minPartLimit: string

      The amount of buyToken that must be bought in each part

    • numberOfParts: string

      The number of parts the order is split into

    • partSellAmount: string

      The amount of sellToken to sell in each part

    • startTime: StartTime

      The start time of the TWAP

    • timeBetweenParts: number

      The duration of the TWAP interval

    • type: TWAP_ORDER