{
    "Function": "_addShareholder",
    "File": "contracts/FeeSplitter.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol",
        "node_modules/@openzeppelin/contracts/access/Ownable.sol",
        "node_modules/@openzeppelin/contracts/utils/Context.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _addShareholder(address _account, uint256 _weight) private {\n        require(_weight > 0, \"FeeSplitter: ZERO_WEIGHT\");\n        shareholders.push(Shareholder(_account, _weight));\n        totalWeights += _weight;\n    }"
}