@ethersproject/contracts#CallOverrides TypeScript Examples

The following examples show how to use @ethersproject/contracts#CallOverrides. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: IWETH9.d.ts    From hardhat-v3-deploy with MIT License 6 votes vote down vote up
callStatic: {
    allowance(owner: string, spender: string, overrides?: CallOverrides): Promise<BigNumber>

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

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

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

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

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

    deposit(overrides?: CallOverrides): Promise<void>

    'deposit()'(overrides?: CallOverrides): Promise<void>

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

    'totalSupply()'(overrides?: CallOverrides): Promise<BigNumber>

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

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

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

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

    withdraw(arg0: BigNumberish, overrides?: CallOverrides): Promise<void>

    'withdraw(uint256)'(arg0: BigNumberish, overrides?: CallOverrides): Promise<void>
  }
Example #2
Source File: TokenInfo.d.ts    From tx2uml with MIT License 6 votes vote down vote up
estimateGas: {
        getBytes32Properties(
            token: string,
            overrides?: CallOverrides
        ): Promise<BigNumber>

        "getBytes32Properties(address)"(
            token: string,
            overrides?: CallOverrides
        ): Promise<BigNumber>

        getInfo(token: string, overrides?: CallOverrides): Promise<BigNumber>

        "getInfo(address)"(
            token: string,
            overrides?: CallOverrides
        ): Promise<BigNumber>

        getInfoBatch(
            tokens: string[],
            overrides?: CallOverrides
        ): Promise<BigNumber>

        "getInfoBatch(address[])"(
            tokens: string[],
            overrides?: CallOverrides
        ): Promise<BigNumber>

        getStringProperties(
            token: string,
            overrides?: CallOverrides
        ): Promise<BigNumber>

        "getStringProperties(address)"(
            token: string,
            overrides?: CallOverrides
        ): Promise<BigNumber>
    }
Example #3
Source File: ERC165.d.ts    From nft-marketplace with European Union Public License 1.2 6 votes vote down vote up
functions: {
    supportsInterface(
      interfaceId: BytesLike,
      overrides?: CallOverrides
    ): Promise<[boolean]>;

    "supportsInterface(bytes4)"(
      interfaceId: BytesLike,
      overrides?: CallOverrides
    ): Promise<[boolean]>;
  };
Example #4
Source File: IWETH9.d.ts    From hardhat-v3-deploy with MIT License 5 votes vote down vote up
allowance(owner: string, spender: string, overrides?: CallOverrides): Promise<BigNumber>
Example #5
Source File: TokenInfo.d.ts    From tx2uml with MIT License 5 votes vote down vote up
getBytes32Properties(
        token: string,
        overrides?: CallOverrides
    ): Promise<[string, string] & { symbol: string; name: string }>
Example #6
Source File: ERC165.d.ts    From nft-marketplace with European Union Public License 1.2 5 votes vote down vote up
supportsInterface(
    interfaceId: BytesLike,
    overrides?: CallOverrides
  ): Promise<boolean>;