Function deriveOracleAuctionParams
- deriveOracleAuctionParams(__namedParameters: {
auctionEndPrice: BN;
auctionPriceCaps?: {
max: BN;
min: BN;
};
auctionStartPrice: BN;
direction: PositionDirection;
limitPrice: BN;
oraclePrice: BN;
}): {
auctionEndPrice: BN;
auctionStartPrice: BN;
oraclePriceOffset: number;
}
-
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
-
-
limitPrice: BN
-
oraclePrice: BN
Returns {
auctionEndPrice: BN;
auctionStartPrice: BN;
oraclePriceOffset: number;
}
-
auctionEndPrice: BN
-
auctionStartPrice: BN
-
oraclePriceOffset: number