create: TxDescriptor<{
    amount: bigint;
    bouncer: MultiAddress;
    nominator: MultiAddress;
    root: MultiAddress;
}>

Create a new delegation pool.

Arguments

  • amount - The amount of funds to delegate to the pool. This also acts of a sort of deposit since the pools creator cannot fully unbond funds until the pool is being destroyed.
  • index - A disambiguation index for creating the account. Likely only useful when creating multiple pools in the same extrinsic.
  • root - The account to set as [PoolRoles::root].
  • nominator - The account to set as the [PoolRoles::nominator].
  • bouncer - The account to set as the [PoolRoles::bouncer].

Note

In addition to amount, the caller will transfer the existential deposit; so the caller needs at have at least amount + existential_deposit transferable.