{
    "Function": "recipientFor",
    "File": "contracts/openzeppelin-solidity/contracts/mocks/ERC777SenderRecipientMock.sol",
    "Parent Contracts": [
        "contracts/openzeppelin-solidity/contracts/utils/introspection/ERC1820Implementer.sol",
        "contracts/openzeppelin-solidity/contracts/utils/introspection/IERC1820Implementer.sol",
        "contracts/openzeppelin-solidity/contracts/token/ERC777/IERC777Recipient.sol",
        "contracts/openzeppelin-solidity/contracts/token/ERC777/IERC777Sender.sol",
        "contracts/openzeppelin-solidity/contracts/utils/Context.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "registerRecipient",
        "_registerInterfaceForAddress"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function recipientFor(address account) public {\n        _registerInterfaceForAddress(_TOKENS_RECIPIENT_INTERFACE_HASH, account);\n\n        address self = address(this);\n        if (account == self) {\n            registerRecipient(self);\n        }\n    }"
}