{
    "Function": "addPool",
    "File": "src/PoolManager.sol",
    "Parent Contracts": [
        "src/util/Auth.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "onlyGateway",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function addPool(uint64 poolId) public onlyGateway {\n        Pool storage pool = pools[poolId];\n        require(pool.createdAt == 0, \"PoolManager/pool-already-added\");\n        pool.poolId = poolId;\n        pool.createdAt = block.timestamp;\n        emit PoolAdded(poolId);\n    }"
}