{
    "Function": "computePhase0ValidatorRoot",
    "File": "src/contracts/libraries/BeaconChainProofs.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "Merkle"
    ],
    "Internal Calls": [],
    "Library Calls": [
        "merkleizeSha256"
    ],
    "Low-Level Calls": [],
    "Code": "function computePhase0ValidatorRoot(bytes32[NUM_VALIDATOR_FIELDS] calldata validatorFields) internal pure returns(bytes32) {  \n        bytes32[] memory paddedValidatorFields = new bytes32[](2**VALIDATOR_FIELD_TREE_HEIGHT);\n        \n        for (uint256 i = 0; i < NUM_VALIDATOR_FIELDS; ++i) {\n            paddedValidatorFields[i] = validatorFields[i];\n        }\n\n        return Merkle.merkleizeSha256(paddedValidatorFields);\n    }"
}