Function deriveOracleAuctionParams

  • Parameters

    • __namedParameters: {
          auctionEndPrice: BN;
          auctionPriceCaps?: {
              max: BN;
              min: BN;
          };
          auctionStartPrice: BN;
          direction: PositionDirection;
          limitPrice: BN;
          oraclePrice: BN;
      }
      • auctionEndPrice: BN
      • Optional auctionPriceCaps?: {
            max: BN;
            min: BN;
        }
      • auctionStartPrice: BN
      • direction: PositionDirection
      • limitPrice: BN
      • oraclePrice: BN

    Returns {
        auctionEndPrice: BN;
        auctionStartPrice: BN;
        oraclePriceOffset: number;
    }

    • auctionEndPrice: BN
    • auctionStartPrice: BN
    • oraclePriceOffset: number

Generated using TypeDoc