IAvmDirectoryTenantAdmin
Overview
Section titled “Overview”Operations on the AVM directory restricted to a tenant admin (the admin of a Tenant record).
IAvmDirectoryTenantAdmin
Section titled “IAvmDirectoryTenantAdmin”Tenant admins create market groups under their tenant and manage the tenant-admin role transfer. Creating tenants themselves is handled by the non-public protocol-admin surface.
CreateMarketGroupArgs
Section titled “CreateMarketGroupArgs”struct CreateMarketGroupArgs
| Field | Type |
|---|---|
tenantId | TenantId Parent tenant ID |
groupId | GroupId New Group ID - must be globally unique |
fees | DataTypes.GroupFees initial fee rates for the group |
groupAdmin | addressinitial group admin |
Functions
Section titled “Functions”acceptTenantAdmin
Section titled “acceptTenantAdmin”Accept a pending tenant-admin transfer; caller must match Tenant.proposedAdmin.
function acceptTenantAdmin(TenantId tenantId) nonpayableParameters
tenantId— TenantId
createMarketGroup
Section titled “createMarketGroup”Create a market group under the tenant. Caller must be the parent-tenant admin.
function createMarketGroup(struct CreateMarketGroupArgs args) nonpayableParameters
args— CreateMarketGroupArgs
proposeTenantAdmin
Section titled “proposeTenantAdmin”Propose a new tenant admin (two-step transfer). Caller must be the current admin.
function proposeTenantAdmin(TenantId tenantId, address proposed) nonpayableParameters
tenantId— TenantIdproposed—address