How to change permissions of AppAgent admin

Intro

This page describes how to change permissions of an admin. Admins' ability to call specific functions can be restricted by setting dispatch filters. Dispatch filters are lists of functions called by an admin. If no dispatch filter is set for an admin, they can call all functions. The recommended practice is to narrowly define the permissions of each admin account.

The calls allowed by default for all admins:

Balances::transfer_allow_death
Assets::mint
Assets::create
Assets::transfer
TransferChannels::establish_transfer_channe

Prerequisites

Before you proceed, ensure you satisfy the following prerequisites:

  1. Create an owner address (see: How to set up owner / admin addresses on TRAIT)

  2. Ensure you have enough TRAIT tokens (see: How to obtain TRAIT tokens)

  3. Ensure you have already created an AppAgent (see: How to create AppAgent)

  4. Ensure the AppAgent already has an admin added (see: How to add & delete AppAgent Admin)

Set dispatch filter for an admin account

Remove dispatch filter from an admin account

Discover more:

Last updated