• Tells the SDK to expose this function as a call function. Adds the neccessary checks if the function is private or payable.

    Parameters

    • options: {
          payableFunction?: boolean;
          privateFunction?: boolean;
      }

      Options to configure the function behaviour.

      • Optional payableFunction?: boolean

        Whether the function can accept an attached deposit.

      • Optional privateFunction?: boolean

        Whether the function can be called by other contracts.

    Returns DecoratorFunction

Generated using TypeDoc