FeePolicy class
One market's fee policy: the StrikeExposureConfig it snapshotted at
creation, in raw 1e9 rates. Snapshotted means later admin changes do NOT
reprice a market already trading, so read it per market (the
MarketCreated event carries every field) rather than assuming the
template. The last three are the inventory-impact parameters, inert while
inventoryImpactMaxRate is zero (the shipped value).
Constructors
- FeePolicy({required BigInt baseFee, required BigInt minFee, required BigInt expiryFeeWindowMs, required BigInt expiryFeeMaxMultiplier, required BigInt minEntryProbability, required BigInt maxEntryProbability, required BigInt inventoryImpactMaxRate, required BigInt inventoryImpactScale, required BigInt backingBufferLambda})
-
const
Properties
- backingBufferLambda → BigInt
-
backing_buffer_lambda— the buffer on non-peak payout in the liability formula.final - baseFee → BigInt
-
base_fee— multipliessqrt(p·(1−p)).final - expiryFeeMaxMultiplier → BigInt
-
expiry_fee_max_multiplier— multiplier reached at expiry; 1e9 disables the ramp.final - expiryFeeWindowMs → BigInt
-
expiry_fee_window_ms— window before expiry over which the fee ramps.final - hashCode → int
-
The hash code for this object.
no setterinherited
- inventoryImpactMaxRate → BigInt
-
inventory_impact_max_rate— maximum marginal impact rate; zero disables impact.final - inventoryImpactScale → BigInt
-
inventory_impact_scale— the market'smax_expiry_allocation, the curve'sB.final - maxEntryProbability → BigInt
-
max_entry_probability— mint admission ceiling on the entry probability.final - minEntryProbability → BigInt
-
min_entry_probability— mint admission floor on the entry probability.final - minFee → BigInt
-
min_fee— per-unit floor, applied per boundary leg before the ramp.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited