{
    "Function": "passThruGate",
    "File": "contracts/MerkleEligibility.sol",
    "Parent Contracts": [
        "interfaces/IEligibility.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "require(bool,string)",
        "isEligible",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function passThruGate(uint index, address recipient, bytes32[] memory proof) external override {\n        require(msg.sender == gateMaster, \"Only gatemaster may call this.\");\n\n        // close re-entrance gate, prevent double withdrawals\n        require(isEligible(index, recipient, proof), \"Address is not eligible\");\n\n        timesWithdrawn[index][recipient] += 1;\n        Gate storage gate = gates[index];\n        gate.totalWithdrawals += 1;\n    }"
}