Function areImmutables

  • indicates among a list of contract addresses if they are immutable

    Parameters

    • provider: Provider

      The provider to use

    • contractAddresses: string[]

      The list of deweb smart contract addresses

    • isFinal: boolean = false

      Whether to check if the contract is immutable in the final state or in the pending state. False by default.

    Returns Promise<boolean[]>

    • List of boolean values indicating if the respective contract is immutable

    Remarks

    This function allows to check the immutable property of several contract addresses in a single call