Contract responsible for managing the exit roots across multiple networks
function constructor(
address _rollupAddress,
address _bridgeAddress
) public
Name | Type | Description |
---|---|---|
_rollupAddress |
address | Rollup contract address |
_bridgeAddress |
address | PolygonZkEVMBridge contract address |
function updateExitRoot(
bytes32 newRoot
) external
Update the exit root of one of the networks and the global exit root
Name | Type | Description |
---|---|---|
newRoot |
bytes32 | new exit tree root |
function getLastGlobalExitRoot(
) public returns (bytes32)
Return last global exit root
event UpdateGlobalExitRoot(
)
Emitted when the global exit root is updated