Function removeAllowList

  • Removes an account from the allow list of a token.

    Returns

    A promise that resolves to the transaction hash.

    Throws

    If opts.validate and the token does not have allow list.

    Parameters

    • token: Token

      The token for which to add the list entry.

    • sender: AccountAddress

      The account address of the sender.

    • targets: TokenHolderAccount | TokenHolderAccount[]

      The account address(es) to be added to the list.

    • signer: AccountSigner

      The signer responsible for signing the transaction.

    • Optional metadata: TokenUpdateMetadata
    • Optional [opts={: UpdateListOptions = {}

      validate: false }] - Options for updating the allow/deny list.

    Returns Promise<Type>

Generated using TypeDoc