Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MockToken

Hierarchy

  • Contract
    • MockToken

Index

Constructors

  • new MockToken(addressOrName: string, contractInterface: ContractInterface, signerOrProvider?: Signer | Provider): MockToken
  • Parameters

    • addressOrName: string
    • contractInterface: ContractInterface
    • Optional signerOrProvider: Signer | Provider

    Returns MockToken

Properties

_deployedPromise: Promise<Contract>
_runningEvents: {}

Type declaration

  • [eventTag: string]: RunningEvent
_wrappedEmits: {}

Type declaration

  • [eventTag: string]: (...args: any[]) => void
      • (...args: any[]): void
      • Parameters

        • Rest ...args: any[]

        Returns void

address: string
callStatic: { DEFAULT_ADMIN_ROLE: any; DEFAULT_ADMIN_ROLE(): any; MINTER_ROLE: any; MINTER_ROLE(): any; PAUSER_ROLE: any; PAUSER_ROLE(): any; allowance: any; allowance(address,address): any; approve: any; approve(address,uint256): any; balanceOf: any; balanceOf(address): any; burn: any; burn(uint256): any; burnFrom: any; burnFrom(address,uint256): any; decimals: any; decimals(): any; decreaseAllowance: any; decreaseAllowance(address,uint256): any; getRoleAdmin: any; getRoleAdmin(bytes32): any; getRoleMember: any; getRoleMember(bytes32,uint256): any; getRoleMemberCount: any; getRoleMemberCount(bytes32): any; grantRole: any; grantRole(bytes32,address): any; hasRole: any; hasRole(bytes32,address): any; increaseAllowance: any; increaseAllowance(address,uint256): any; initialize: any; initialize(string,string): any; mint: any; mint(address,uint256): any; name: any; name(): any; pause: any; pause(): any; paused: any; paused(): any; renounceRole: any; renounceRole(bytes32,address): any; revokeRole: any; revokeRole(bytes32,address): any; symbol: any; symbol(): any; totalSupply: any; totalSupply(): any; transfer: any; transfer(address,uint256): any; transferFrom: any; transferFrom(address,address,uint256): any; unpause: any; unpause(): any }

Type declaration

  • DEFAULT_ADMIN_ROLE:function
    • DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • DEFAULT_ADMIN_ROLE():function
    • DEFAULT_ADMIN_ROLE()(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • MINTER_ROLE:function
    • MINTER_ROLE(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • MINTER_ROLE():function
    • MINTER_ROLE()(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • PAUSER_ROLE:function
    • PAUSER_ROLE(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • PAUSER_ROLE():function
    • PAUSER_ROLE()(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • allowance:function
    • allowance(owner: string, spender: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • owner: string
      • spender: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • allowance(address,address):function
    • allowance(address,address)(owner: string, spender: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • owner: string
      • spender: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • approve:function
    • approve(spender: string, amount: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • spender: string
      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • approve(address,uint256):function
    • approve(address,uint256)(spender: string, amount: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • spender: string
      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • balanceOf:function
    • balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • balanceOf(address):function
    • balanceOf(address)(account: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • burn:function
    • burn(amount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • burn(uint256):function
    • burn(uint256)(amount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • burnFrom:function
    • burnFrom(account: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • account: string
      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • burnFrom(address,uint256):function
    • burnFrom(address,uint256)(account: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • account: string
      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • decimals:function
    • decimals(overrides?: CallOverrides): Promise<number>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<number>

  • decimals():function
    • decimals()(overrides?: CallOverrides): Promise<number>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<number>

  • decreaseAllowance:function
    • decreaseAllowance(spender: string, subtractedValue: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • spender: string
      • subtractedValue: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • decreaseAllowance(address,uint256):function
    • decreaseAllowance(address,uint256)(spender: string, subtractedValue: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • spender: string
      • subtractedValue: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • getRoleAdmin:function
    • getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<string>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • getRoleAdmin(bytes32):function
    • getRoleAdmin(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<string>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • getRoleMember:function
    • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<string>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • getRoleMember(bytes32,uint256):function
    • getRoleMember(bytes32,uint256)(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<string>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • getRoleMemberCount:function
    • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getRoleMemberCount(bytes32):function
    • getRoleMemberCount(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • grantRole:function
    • grantRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • grantRole(bytes32,address):function
    • grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • hasRole:function
    • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • hasRole(bytes32,address):function
    • hasRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • increaseAllowance:function
    • increaseAllowance(spender: string, addedValue: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • spender: string
      • addedValue: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • increaseAllowance(address,uint256):function
    • increaseAllowance(address,uint256)(spender: string, addedValue: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • spender: string
      • addedValue: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • initialize:function
    • initialize(name: string, symbol: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • name: string
      • symbol: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • initialize(string,string):function
    • initialize(string,string)(name: string, symbol: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • name: string
      • symbol: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • mint:function
    • mint(to: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • to: string
      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • mint(address,uint256):function
    • mint(address,uint256)(to: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • to: string
      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • name:function
    • name(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • name():function
    • name()(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • pause:function
    • pause(overrides?: CallOverrides): Promise<void>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<void>

  • pause():function
    • pause()(overrides?: CallOverrides): Promise<void>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<void>

  • paused:function
    • paused(overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • paused():function
    • paused()(overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • renounceRole:function
    • renounceRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • renounceRole(bytes32,address):function
    • renounceRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • revokeRole:function
    • revokeRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • revokeRole(bytes32,address):function
    • revokeRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • symbol:function
    • symbol(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • symbol():function
    • symbol()(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • totalSupply:function
    • totalSupply(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • totalSupply():function
    • totalSupply()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • transfer:function
    • transfer(recipient: string, amount: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • recipient: string
      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • transfer(address,uint256):function
    • transfer(address,uint256)(recipient: string, amount: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • recipient: string
      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • transferFrom:function
    • transferFrom(sender: string, recipient: string, amount: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • sender: string
      • recipient: string
      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • transferFrom(address,address,uint256):function
    • transferFrom(address,address,uint256)(sender: string, recipient: string, amount: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • sender: string
      • recipient: string
      • amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • unpause:function
    • unpause(overrides?: CallOverrides): Promise<void>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<void>

  • unpause():function
    • unpause()(overrides?: CallOverrides): Promise<void>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<void>

deployTransaction: TransactionResponse
estimateGas: { DEFAULT_ADMIN_ROLE: any; DEFAULT_ADMIN_ROLE(): any; MINTER_ROLE: any; MINTER_ROLE(): any; PAUSER_ROLE: any; PAUSER_ROLE(): any; allowance: any; allowance(address,address): any; approve: any; approve(address,uint256): any; balanceOf: any; balanceOf(address): any; burn: any; burn(uint256): any; burnFrom: any; burnFrom(address,uint256): any; decimals: any; decimals(): any; decreaseAllowance: any; decreaseAllowance(address,uint256): any; getRoleAdmin: any; getRoleAdmin(bytes32): any; getRoleMember: any; getRoleMember(bytes32,uint256): any; getRoleMemberCount: any; getRoleMemberCount(bytes32): any; grantRole: any; grantRole(bytes32,address): any; hasRole: any; hasRole(bytes32,address): any; increaseAllowance: any; increaseAllowance(address,uint256): any; initialize: any; initialize(string,string): any; mint: any; mint(address,uint256): any; name: any; name(): any; pause: any; pause(): any; paused: any; paused(): any; renounceRole: any; renounceRole(bytes32,address): any; revokeRole: any; revokeRole(bytes32,address): any; symbol: any; symbol(): any; totalSupply: any; totalSupply(): any; transfer: any; transfer(address,uint256): any; transferFrom: any; transferFrom(address,address,uint256): any; unpause: any; unpause(): any }

Type declaration

  • DEFAULT_ADMIN_ROLE:function
    • DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • DEFAULT_ADMIN_ROLE():function
    • DEFAULT_ADMIN_ROLE()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • MINTER_ROLE:function
    • MINTER_ROLE(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • MINTER_ROLE():function
    • MINTER_ROLE()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • PAUSER_ROLE:function
    • PAUSER_ROLE(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • PAUSER_ROLE():function
    • PAUSER_ROLE()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • allowance:function
    • allowance(owner: string, spender: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • owner: string
      • spender: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • allowance(address,address):function
    • allowance(address,address)(owner: string, spender: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • owner: string
      • spender: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • approve:function
    • approve(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • spender: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • approve(address,uint256):function
    • approve(address,uint256)(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • spender: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • balanceOf:function
    • balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • balanceOf(address):function
    • balanceOf(address)(account: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • burn:function
    • burn(amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • burn(uint256):function
    • burn(uint256)(amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • burnFrom:function
    • burnFrom(account: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • account: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • burnFrom(address,uint256):function
    • burnFrom(address,uint256)(account: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • account: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • decimals:function
    • decimals(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • decimals():function
    • decimals()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • decreaseAllowance:function
    • decreaseAllowance(spender: string, subtractedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • spender: string
      • subtractedValue: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • decreaseAllowance(address,uint256):function
    • decreaseAllowance(address,uint256)(spender: string, subtractedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • spender: string
      • subtractedValue: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • getRoleAdmin:function
    • getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getRoleAdmin(bytes32):function
    • getRoleAdmin(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getRoleMember:function
    • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getRoleMember(bytes32,uint256):function
    • getRoleMember(bytes32,uint256)(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getRoleMemberCount:function
    • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getRoleMemberCount(bytes32):function
    • getRoleMemberCount(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • grantRole:function
    • grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • grantRole(bytes32,address):function
    • grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • hasRole:function
    • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • hasRole(bytes32,address):function
    • hasRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • increaseAllowance:function
    • increaseAllowance(spender: string, addedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • spender: string
      • addedValue: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • increaseAllowance(address,uint256):function
    • increaseAllowance(address,uint256)(spender: string, addedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • spender: string
      • addedValue: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • initialize:function
    • initialize(name: string, symbol: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • name: string
      • symbol: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • initialize(string,string):function
    • initialize(string,string)(name: string, symbol: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • name: string
      • symbol: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • mint:function
    • mint(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • to: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • mint(address,uint256):function
    • mint(address,uint256)(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • to: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • name:function
    • name(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • name():function
    • name()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • pause:function
    • pause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • pause():function
    • pause()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • paused:function
    • paused(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • paused():function
    • paused()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • renounceRole:function
    • renounceRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • renounceRole(bytes32,address):function
    • renounceRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • revokeRole:function
    • revokeRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • revokeRole(bytes32,address):function
    • revokeRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • symbol:function
    • symbol(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • symbol():function
    • symbol()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • totalSupply:function
    • totalSupply(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • totalSupply():function
    • totalSupply()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • transfer:function
    • transfer(recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • recipient: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • transfer(address,uint256):function
    • transfer(address,uint256)(recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • recipient: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • transferFrom:function
    • transferFrom(sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • sender: string
      • recipient: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • transferFrom(address,address,uint256):function
    • transferFrom(address,address,uint256)(sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • sender: string
      • recipient: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • unpause:function
    • unpause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • unpause():function
    • unpause()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

filters: { Approval: any; Paused: any; RoleAdminChanged: any; RoleGranted: any; RoleRevoked: any; Transfer: any; Unpaused: any }

Type declaration

  • Approval:function
    • Approval(owner: null | string, spender: null | string, value: null): TypedEventFilter<[string, string, BigNumber], { owner: string; spender: string; value: BigNumber }>
    • Parameters

      • owner: null | string
      • spender: null | string
      • value: null

      Returns TypedEventFilter<[string, string, BigNumber], { owner: string; spender: string; value: BigNumber }>

  • Paused:function
    • Paused(account: null): TypedEventFilter<[string], { account: string }>
    • Parameters

      • account: null

      Returns TypedEventFilter<[string], { account: string }>

  • RoleAdminChanged:function
    • RoleAdminChanged(role: null | BytesLike, previousAdminRole: null | BytesLike, newAdminRole: null | BytesLike): TypedEventFilter<[string, string, string], { newAdminRole: string; previousAdminRole: string; role: string }>
    • Parameters

      • role: null | BytesLike
      • previousAdminRole: null | BytesLike
      • newAdminRole: null | BytesLike

      Returns TypedEventFilter<[string, string, string], { newAdminRole: string; previousAdminRole: string; role: string }>

  • RoleGranted:function
    • RoleGranted(role: null | BytesLike, account: null | string, sender: null | string): TypedEventFilter<[string, string, string], { account: string; role: string; sender: string }>
    • Parameters

      • role: null | BytesLike
      • account: null | string
      • sender: null | string

      Returns TypedEventFilter<[string, string, string], { account: string; role: string; sender: string }>

  • RoleRevoked:function
    • RoleRevoked(role: null | BytesLike, account: null | string, sender: null | string): TypedEventFilter<[string, string, string], { account: string; role: string; sender: string }>
    • Parameters

      • role: null | BytesLike
      • account: null | string
      • sender: null | string

      Returns TypedEventFilter<[string, string, string], { account: string; role: string; sender: string }>

  • Transfer:function
    • Transfer(from: null | string, to: null | string, value: null): TypedEventFilter<[string, string, BigNumber], { from: string; to: string; value: BigNumber }>
    • Parameters

      • from: null | string
      • to: null | string
      • value: null

      Returns TypedEventFilter<[string, string, BigNumber], { from: string; to: string; value: BigNumber }>

  • Unpaused:function
    • Unpaused(account: null): TypedEventFilter<[string], { account: string }>
    • Parameters

      • account: null

      Returns TypedEventFilter<[string], { account: string }>

functions: { DEFAULT_ADMIN_ROLE: any; DEFAULT_ADMIN_ROLE(): any; MINTER_ROLE: any; MINTER_ROLE(): any; PAUSER_ROLE: any; PAUSER_ROLE(): any; allowance: any; allowance(address,address): any; approve: any; approve(address,uint256): any; balanceOf: any; balanceOf(address): any; burn: any; burn(uint256): any; burnFrom: any; burnFrom(address,uint256): any; decimals: any; decimals(): any; decreaseAllowance: any; decreaseAllowance(address,uint256): any; getRoleAdmin: any; getRoleAdmin(bytes32): any; getRoleMember: any; getRoleMember(bytes32,uint256): any; getRoleMemberCount: any; getRoleMemberCount(bytes32): any; grantRole: any; grantRole(bytes32,address): any; hasRole: any; hasRole(bytes32,address): any; increaseAllowance: any; increaseAllowance(address,uint256): any; initialize: any; initialize(string,string): any; mint: any; mint(address,uint256): any; name: any; name(): any; pause: any; pause(): any; paused: any; paused(): any; renounceRole: any; renounceRole(bytes32,address): any; revokeRole: any; revokeRole(bytes32,address): any; symbol: any; symbol(): any; totalSupply: any; totalSupply(): any; transfer: any; transfer(address,uint256): any; transferFrom: any; transferFrom(address,address,uint256): any; unpause: any; unpause(): any }

Type declaration

  • DEFAULT_ADMIN_ROLE:function
    • DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • DEFAULT_ADMIN_ROLE():function
    • DEFAULT_ADMIN_ROLE()(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • MINTER_ROLE:function
    • MINTER_ROLE(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • MINTER_ROLE():function
    • MINTER_ROLE()(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • PAUSER_ROLE:function
    • PAUSER_ROLE(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • PAUSER_ROLE():function
    • PAUSER_ROLE()(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • allowance:function
    • allowance(owner: string, spender: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • owner: string
      • spender: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • allowance(address,address):function
    • allowance(address,address)(owner: string, spender: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • owner: string
      • spender: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • approve:function
    • approve(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • spender: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • approve(address,uint256):function
    • approve(address,uint256)(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • spender: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • balanceOf:function
    • balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • balanceOf(address):function
    • balanceOf(address)(account: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • burn:function
    • burn(amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • burn(uint256):function
    • burn(uint256)(amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • burnFrom:function
    • burnFrom(account: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • account: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • burnFrom(address,uint256):function
    • burnFrom(address,uint256)(account: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • account: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • decimals:function
    • decimals(overrides?: CallOverrides): Promise<[number]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[number]>

  • decimals():function
    • decimals()(overrides?: CallOverrides): Promise<[number]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[number]>

  • decreaseAllowance:function
    • decreaseAllowance(spender: string, subtractedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • spender: string
      • subtractedValue: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • decreaseAllowance(address,uint256):function
    • decreaseAllowance(address,uint256)(spender: string, subtractedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • spender: string
      • subtractedValue: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • getRoleAdmin:function
    • getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • getRoleAdmin(bytes32):function
    • getRoleAdmin(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • getRoleMember:function
    • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • getRoleMember(bytes32,uint256):function
    • getRoleMember(bytes32,uint256)(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • getRoleMemberCount:function
    • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • getRoleMemberCount(bytes32):function
    • getRoleMemberCount(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • grantRole:function
    • grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • grantRole(bytes32,address):function
    • grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • hasRole:function
    • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • hasRole(bytes32,address):function
    • hasRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • increaseAllowance:function
    • increaseAllowance(spender: string, addedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • spender: string
      • addedValue: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • increaseAllowance(address,uint256):function
    • increaseAllowance(address,uint256)(spender: string, addedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • spender: string
      • addedValue: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • initialize:function
    • initialize(name: string, symbol: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • name: string
      • symbol: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • initialize(string,string):function
    • initialize(string,string)(name: string, symbol: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • name: string
      • symbol: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • mint:function
    • mint(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • to: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • mint(address,uint256):function
    • mint(address,uint256)(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • to: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • name:function
    • name(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • name():function
    • name()(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • pause:function
    • pause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • pause():function
    • pause()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • paused:function
    • paused(overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • paused():function
    • paused()(overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • renounceRole:function
    • renounceRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • renounceRole(bytes32,address):function
    • renounceRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • revokeRole:function
    • revokeRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • revokeRole(bytes32,address):function
    • revokeRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • symbol:function
    • symbol(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • symbol():function
    • symbol()(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • totalSupply:function
    • totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • totalSupply():function
    • totalSupply()(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • transfer:function
    • transfer(recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • recipient: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • transfer(address,uint256):function
    • transfer(address,uint256)(recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • recipient: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • transferFrom:function
    • transferFrom(sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • sender: string
      • recipient: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • transferFrom(address,address,uint256):function
    • transferFrom(address,address,uint256)(sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • sender: string
      • recipient: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • unpause:function
    • unpause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • unpause():function
    • unpause()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

interface: MockTokenInterface
populateTransaction: { DEFAULT_ADMIN_ROLE: any; DEFAULT_ADMIN_ROLE(): any; MINTER_ROLE: any; MINTER_ROLE(): any; PAUSER_ROLE: any; PAUSER_ROLE(): any; allowance: any; allowance(address,address): any; approve: any; approve(address,uint256): any; balanceOf: any; balanceOf(address): any; burn: any; burn(uint256): any; burnFrom: any; burnFrom(address,uint256): any; decimals: any; decimals(): any; decreaseAllowance: any; decreaseAllowance(address,uint256): any; getRoleAdmin: any; getRoleAdmin(bytes32): any; getRoleMember: any; getRoleMember(bytes32,uint256): any; getRoleMemberCount: any; getRoleMemberCount(bytes32): any; grantRole: any; grantRole(bytes32,address): any; hasRole: any; hasRole(bytes32,address): any; increaseAllowance: any; increaseAllowance(address,uint256): any; initialize: any; initialize(string,string): any; mint: any; mint(address,uint256): any; name: any; name(): any; pause: any; pause(): any; paused: any; paused(): any; renounceRole: any; renounceRole(bytes32,address): any; revokeRole: any; revokeRole(bytes32,address): any; symbol: any; symbol(): any; totalSupply: any; totalSupply(): any; transfer: any; transfer(address,uint256): any; transferFrom: any; transferFrom(address,address,uint256): any; unpause: any; unpause(): any }

Type declaration

  • DEFAULT_ADMIN_ROLE:function
    • DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • DEFAULT_ADMIN_ROLE():function
    • DEFAULT_ADMIN_ROLE()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • MINTER_ROLE:function
    • MINTER_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • MINTER_ROLE():function
    • MINTER_ROLE()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • PAUSER_ROLE:function
    • PAUSER_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • PAUSER_ROLE():function
    • PAUSER_ROLE()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • allowance:function
    • allowance(owner: string, spender: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • owner: string
      • spender: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • allowance(address,address):function
    • allowance(address,address)(owner: string, spender: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • owner: string
      • spender: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • approve:function
    • approve(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • spender: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • approve(address,uint256):function
    • approve(address,uint256)(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • spender: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • balanceOf:function
    • balanceOf(account: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • balanceOf(address):function
    • balanceOf(address)(account: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • burn:function
    • burn(amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • burn(uint256):function
    • burn(uint256)(amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • burnFrom:function
    • burnFrom(account: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • account: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • burnFrom(address,uint256):function
    • burnFrom(address,uint256)(account: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • account: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • decimals:function
    • decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • decimals():function
    • decimals()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • decreaseAllowance:function
    • decreaseAllowance(spender: string, subtractedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • spender: string
      • subtractedValue: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • decreaseAllowance(address,uint256):function
    • decreaseAllowance(address,uint256)(spender: string, subtractedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • spender: string
      • subtractedValue: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • getRoleAdmin:function
    • getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getRoleAdmin(bytes32):function
    • getRoleAdmin(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getRoleMember:function
    • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getRoleMember(bytes32,uint256):function
    • getRoleMember(bytes32,uint256)(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • index: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getRoleMemberCount:function
    • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getRoleMemberCount(bytes32):function
    • getRoleMemberCount(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • grantRole:function
    • grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • grantRole(bytes32,address):function
    • grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • hasRole:function
    • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • hasRole(bytes32,address):function
    • hasRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • increaseAllowance:function
    • increaseAllowance(spender: string, addedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • spender: string
      • addedValue: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • increaseAllowance(address,uint256):function
    • increaseAllowance(address,uint256)(spender: string, addedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • spender: string
      • addedValue: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • initialize:function
    • initialize(name: string, symbol: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • name: string
      • symbol: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • initialize(string,string):function
    • initialize(string,string)(name: string, symbol: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • name: string
      • symbol: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • mint:function
    • mint(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • to: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • mint(address,uint256):function
    • mint(address,uint256)(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • to: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • name:function
    • name(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • name():function
    • name()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • pause:function
    • pause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • pause():function
    • pause()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • paused:function
    • paused(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • paused():function
    • paused()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • renounceRole:function
    • renounceRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • renounceRole(bytes32,address):function
    • renounceRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • revokeRole:function
    • revokeRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • revokeRole(bytes32,address):function
    • revokeRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • role: BytesLike
      • account: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • symbol:function
    • symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • symbol():function
    • symbol()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • totalSupply:function
    • totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • totalSupply():function
    • totalSupply()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • transfer:function
    • transfer(recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • recipient: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • transfer(address,uint256):function
    • transfer(address,uint256)(recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • recipient: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • transferFrom:function
    • transferFrom(sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • sender: string
      • recipient: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • transferFrom(address,address,uint256):function
    • transferFrom(address,address,uint256)(sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • sender: string
      • recipient: string
      • amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • unpause:function
    • unpause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • unpause():function
    • unpause()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

provider: Provider
resolvedAddress: Promise<string>
signer: Signer

Methods

  • DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • DEFAULT_ADMIN_ROLE()(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • MINTER_ROLE(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • MINTER_ROLE()(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • PAUSER_ROLE(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • PAUSER_ROLE()(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • _checkRunningEvents(runningEvent: RunningEvent): void
  • Parameters

    • runningEvent: RunningEvent

    Returns void

  • _deployed(blockTag?: BlockTag): Promise<Contract>
  • Parameters

    • Optional blockTag: BlockTag

    Returns Promise<Contract>

  • _wrapEvent(runningEvent: RunningEvent, log: Log, listener: Listener): Event
  • Parameters

    • runningEvent: RunningEvent
    • log: Log
    • listener: Listener

    Returns Event

  • allowance(owner: string, spender: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • owner: string
    • spender: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • allowance(address,address)(owner: string, spender: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • owner: string
    • spender: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • approve(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • spender: string
    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • approve(address,uint256)(spender: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • spender: string
    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • Parameters

    • addressOrName: string

    Returns MockToken

  • balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • account: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • balanceOf(address)(account: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • account: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • burn(amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • burn(uint256)(amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • burnFrom(account: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • account: string
    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • burnFrom(address,uint256)(account: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • account: string
    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • connect(signerOrProvider: string | Signer | Provider): MockToken
  • Parameters

    • signerOrProvider: string | Signer | Provider

    Returns MockToken

  • decimals(overrides?: CallOverrides): Promise<number>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<number>

  • decimals()(overrides?: CallOverrides): Promise<number>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<number>

  • decreaseAllowance(spender: string, subtractedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • spender: string
    • subtractedValue: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • decreaseAllowance(address,uint256)(spender: string, subtractedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • spender: string
    • subtractedValue: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • Returns Promise<MockToken>

  • emit(eventName: string | EventFilter, ...args: any[]): boolean
  • Parameters

    • eventName: string | EventFilter
    • Rest ...args: any[]

    Returns boolean

  • fallback(overrides?: TransactionRequest): Promise<TransactionResponse>
  • Parameters

    • Optional overrides: TransactionRequest

    Returns Promise<TransactionResponse>

  • getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<string>
  • Parameters

    • role: BytesLike
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • getRoleAdmin(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<string>
  • Parameters

    • role: BytesLike
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • getRoleMember(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<string>
  • Parameters

    • role: BytesLike
    • index: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • getRoleMember(bytes32,uint256)(role: BytesLike, index: BigNumberish, overrides?: CallOverrides): Promise<string>
  • Parameters

    • role: BytesLike
    • index: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • getRoleMemberCount(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • role: BytesLike
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • getRoleMemberCount(bytes32)(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • role: BytesLike
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • role: BytesLike
    • account: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • grantRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • role: BytesLike
    • account: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • role: BytesLike
    • account: string
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • hasRole(bytes32,address)(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • role: BytesLike
    • account: string
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • increaseAllowance(spender: string, addedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • spender: string
    • addedValue: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • increaseAllowance(address,uint256)(spender: string, addedValue: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • spender: string
    • addedValue: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • initialize(name: string, symbol: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • name: string
    • symbol: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • initialize(string,string)(name: string, symbol: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • name: string
    • symbol: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • listenerCount(eventName?: string | EventFilter): number
  • Parameters

    • Optional eventName: string | EventFilter

    Returns number

  • listeners<EventArgsArray, EventArgsObject>(eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>): TypedListener<EventArgsArray, EventArgsObject>[]
  • listeners(eventName?: string): Listener[]
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • Optional eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns TypedListener<EventArgsArray, EventArgsObject>[]

  • Parameters

    • Optional eventName: string

    Returns Listener[]

  • mint(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • to: string
    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • mint(address,uint256)(to: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • to: string
    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • name(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • name()(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • off<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): MockToken
  • off(eventName: string, listener: Listener): MockToken
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns MockToken

  • Parameters

    • eventName: string
    • listener: Listener

    Returns MockToken

  • on<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): MockToken
  • on(eventName: string, listener: Listener): MockToken
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns MockToken

  • Parameters

    • eventName: string
    • listener: Listener

    Returns MockToken

  • once<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): MockToken
  • once(eventName: string, listener: Listener): MockToken
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns MockToken

  • Parameters

    • eventName: string
    • listener: Listener

    Returns MockToken

  • pause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • pause()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • paused(overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • paused()(overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • queryFilter<EventArgsArray, EventArgsObject>(event: TypedEventFilter<EventArgsArray, EventArgsObject>, fromBlockOrBlockhash?: string | number, toBlock?: string | number): Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • event: TypedEventFilter<EventArgsArray, EventArgsObject>
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>

  • removeAllListeners<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>): MockToken
  • removeAllListeners(eventName?: string): MockToken
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns MockToken

  • Parameters

    • Optional eventName: string

    Returns MockToken

  • removeListener<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): MockToken
  • removeListener(eventName: string, listener: Listener): MockToken
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns MockToken

  • Parameters

    • eventName: string
    • listener: Listener

    Returns MockToken

  • renounceRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • role: BytesLike
    • account: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • renounceRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • role: BytesLike
    • account: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • revokeRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • role: BytesLike
    • account: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • revokeRole(bytes32,address)(role: BytesLike, account: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • role: BytesLike
    • account: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • symbol(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • symbol()(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • totalSupply(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • totalSupply()(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • transfer(recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • recipient: string
    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • transfer(address,uint256)(recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • recipient: string
    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • transferFrom(sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • sender: string
    • recipient: string
    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • transferFrom(address,address,uint256)(sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • sender: string
    • recipient: string
    • amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • unpause(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • unpause()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • getContractAddress(transaction: { from: string; nonce: BigNumberish }): string
  • Parameters

    • transaction: { from: string; nonce: BigNumberish }
      • from: string
      • nonce: BigNumberish

    Returns string

  • getInterface(contractInterface: ContractInterface): Interface
  • Parameters

    • contractInterface: ContractInterface

    Returns Interface

  • isIndexed(value: any): value is Indexed
  • Parameters

    • value: any

    Returns value is Indexed

Generated using TypeDoc, the 11/12/2022