/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */

import BN from "bn.js";

export type TxID = { transactionId: string };

export interface ERC20Payout {
  DEFAULT_ADMIN_ROLE(): Promise<string>;

  OPERATOR_ROLE(): Promise<string>;

  batchTransfer: {
    ({
      _from,
      _to,
      _amounts,
    }: {
      _from: string[];
      _to: string[];
      _amounts: (number | BN | string)[];
    }): Promise<TxID>;
  };

  getRoleAdmin({ role }: { role: string }): Promise<string>;

  getRoleMember({
    role,
    index,
  }: {
    role: string;
    index: number | BN | string;
  }): Promise<string>;

  getRoleMemberCount({ role }: { role: string }): Promise<BN>;

  grantRole: {
    ({ role, account }: { role: string; account: string }): Promise<TxID>;
  };

  hasRole({
    role,
    account,
  }: {
    role: string;
    account: string;
  }): Promise<boolean>;

  renounceRole: {
    ({ role, account }: { role: string; account: string }): Promise<TxID>;
  };

  revokeRole: {
    ({ role, account }: { role: string; account: string }): Promise<TxID>;
  };

  splitPayment: {
    ({
      _total,
      _blockNumber,
      _addresses,
      _amounts,
    }: {
      _total: number | BN | string;
      _blockNumber: number | BN | string;
      _addresses: string[];
      _amounts: (number | BN | string)[];
    }): Promise<TxID>;
  };

  supportsInterface({ interfaceId }: { interfaceId: string }): Promise<boolean>;

  token(): Promise<string>;
}
