Function useConstantsRegistry

  • Parameters

    • contractAddress: string
    • provider: Provider
    • rawProvider: RawProvider

    Returns {
        addConstant: ((key: string, value: BytesLike) => Promise<TransactionResponse>);
        removeConstant: ((key: string) => Promise<TransactionResponse>);
    }

    • addConstant: ((key: string, value: BytesLike) => Promise<TransactionResponse>)
        • (key: string, value: BytesLike): Promise<TransactionResponse>
        • Parameters

          • key: string
          • value: BytesLike

          Returns Promise<TransactionResponse>

    • removeConstant: ((key: string) => Promise<TransactionResponse>)
        • (key: string): Promise<TransactionResponse>
        • Parameters

          • key: string

          Returns Promise<TransactionResponse>

Generated using TypeDoc