Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

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