solhint

multiple-sends

Recommended Badge Category Badge Default Severity Badge warn

The {“extends”: “solhint:recommended”} property in a configuration file enables this rule.

Description

Avoid multiple calls of “send” method in single transaction.

Options

This rule accepts a string option of rule severity. Must be one of “error”, “warn”, “off”. Default to warn.

Example Config

{
  "rules": {
    "multiple-sends": "warn"
  }
}

Examples

This rule does not have examples.

Version

This rule was introduced in Solhint 2.0.0-alpha.0

Resources