Delegate Account

The delegate account of a subnet node is an account where a portion of the rewards can be allocated.

The delegate account can be updated by the subnet node or by the delegate account itself.

When the delegate account is updating, it can only update the account_id and not the rate by transferring the account_id to another account_id. This can be accomplished by calling the following extrinsic:

pub fn transfer_delegate_account(
    origin: OriginFor<T>,
    subnet_id: u32,
    subnet_node_id: u32,
    delegate_account_id: T::AccountId,
)

Last updated