{
    "Function": "depositETH",
    "File": "contracts/liquid-staking/GiantPoolBase.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol"
    ],
    "High-Level Calls": [
        "GiantLP"
    ],
    "Internal Calls": [
        "require(bool,string)",
        "require(bool,string)",
        "_onDepositETH"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function depositETH(uint256 _amount) public payable {\n        require(msg.value >= MIN_STAKING_AMOUNT, \"Minimum not supplied\");\n        require(msg.value == _amount, \"Value equal to amount\");\n\n        // The ETH capital has not yet been deployed to a liquid staking network\n        idleETH += msg.value;\n\n        // Mint giant LP at ratio of 1:1\n        lpTokenETH.mint(msg.sender, msg.value);\n\n        // If anything extra needs to be done\n        _onDepositETH();\n\n        emit ETHDeposited(msg.sender, msg.value);\n    }"
}