IAvmDirectoryGroupAdmin
Overview
Section titled “Overview”Operations on the AVM directory restricted to the market-group admin (the admin of a MarketGroup record).
IAvmDirectoryGroupAdmin
Section titled “IAvmDirectoryGroupAdmin”Group admins manage their own group’s fees and propose/accept admin transfers within the group. Per-market operation availability is controlled by MarketFlags on each market, not by a directory-level kind switch. Creating new market groups belongs to the parent tenant admin (IAvmDirectoryTenantAdmin).
Functions
Section titled “Functions”acceptMarketGroupAdmin
Section titled “acceptMarketGroupAdmin”Accept a pending group-admin transfer; caller must match MarketGroup.proposedAdmin.
function acceptMarketGroupAdmin(GroupId groupId) nonpayableParameters
groupId— GroupId
proposeMarketGroupAdmin
Section titled “proposeMarketGroupAdmin”Propose a new group admin (two-step transfer). Caller must be the current admin.
function proposeMarketGroupAdmin(GroupId groupId, address proposed) nonpayableParameters
groupId— GroupIdproposed—address
setMarketGroupFees
Section titled “setMarketGroupFees”Update the fee schedule applied to all markets in this group.
Each rate is a MicroBps value where 100_000_000 represents 100%. Rates apply to gross reserve-token flow for the matching operation (buy on reserve in, sell on reserve out, borrow on debt opened, exerciseOption on floor exercise). Every field must be at most IAvmDirectoryViews.maxGroupFeeMicroBps(). The parent tenant’s platform fee then splits group-fee revenue; it is not additive on top of these rates.
function setMarketGroupFees(GroupId groupId, struct DataTypes.GroupFees fees) nonpayableParameters
groupId— GroupIdfees— DataTypes.GroupFees