consts.gno
0.43 Kb · 13 lines
1package limit
2
3// BpsDenominator is 100% in basis points.
4const BpsDenominator int64 = 10_000
5
6// DefaultMaxSlippageBps is the default maximum slippage for new orders (10%).
7const DefaultMaxSlippageBps int64 = 1_000
8
9// MaxExecutionFeeRate is the largest execution fee rate, in basis points (10%).
10const MaxExecutionFeeRate int64 = 1_000
11
12// DefaultBPTreeFanout is the fanout of every limit-order B+tree.
13const DefaultBPTreeFanout = 16