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

    Parameters

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

      Options to configure the function behaviour.

      • OptionalpayableFunction?: boolean

        Whether the function can accept an attached deposit.

      • OptionalprivateFunction?: boolean

        Whether the function can be called by other contracts.

    Returns DecoratorFunction