Type alias OracleGuardRails

OracleGuardRails: {
    priceDivergence: {
        markOraclePercentDivergence: BN;
        oracleTwap5MinPercentDivergence: BN;
    };
    validity: {
        confidenceIntervalMaxSize: BN;
        slotsBeforeStaleForAmm: BN;
        slotsBeforeStaleForMargin: BN;
        tooVolatileRatio: BN;
    };
}

Type declaration

  • priceDivergence: {
        markOraclePercentDivergence: BN;
        oracleTwap5MinPercentDivergence: BN;
    }
    • markOraclePercentDivergence: BN
    • oracleTwap5MinPercentDivergence: BN
  • validity: {
        confidenceIntervalMaxSize: BN;
        slotsBeforeStaleForAmm: BN;
        slotsBeforeStaleForMargin: BN;
        tooVolatileRatio: BN;
    }
    • confidenceIntervalMaxSize: BN
    • slotsBeforeStaleForAmm: BN
    • slotsBeforeStaleForMargin: BN
    • tooVolatileRatio: BN

Generated using TypeDoc