Skip to content

IMarketGroupAdmin

Operations restricted to the active market-group admin (the owner of the market’s group, as resolved through IAvmDirectory.getMarketGroup).

Group admins manage their own market: per-operation flag toggles, floor raises within an existing curve, and group-revenue collection. Engine swaps and platform-revenue collection are intentionally excluded from this surface and live on the non-public protocol-admin surface.Unit conventions on this surface. External market entry points speak in RawTokenQuantity and ExchangeRate. RawTokenQuantity is an unscaled integer count of a token’s smallest unit and carries no assumption about decimal precision. ExchangeRate is an unsigned Fixed18 y-value ratio; in ABI terms it is a uint256, but the integer is the 18-decimal floor price or exchange rate itself. The market converts raw x-values to Fixed18Value only when it calls the pricing engine.

function collectGroupRevenue(RawTokenQuantity amount, address recipient) returns (RawTokenQuantity) nonpayable

Parameters

Returns

Raise floor using surplus reserve liquidity already held by the market.

This is the separate operation that may consume surplus created by donateLiquidity; donation itself does not raise the floor.

@newFloorPrice — Target floor price as an unsigned Fixed18 exchange rate (reserve token per AVM token).

function raiseFloorFromExcessLiquidity(ExchangeRate newFloorPrice) nonpayable

Parameters

Raise floor while preserving curve area by explicitly choosing the new ramp end.

@newFloorPrice — Target floor price as an unsigned Fixed18 exchange rate (reserve token per AVM token).

@newRampEndSupply — Target ramp-end x-value as an unscaled raw count of the AVM token’s smallest unit.

function raiseFloorPreserveArea(RawTokenQuantity newRampEndSupply, ExchangeRate newFloorPrice) nonpayable

Parameters

function setMarketFlags(struct MarketFlags newFlags) nonpayable

Parameters