ClaimCompressor.sol
Utility contract for compressing and decompressing claim data. ## Functions ### ##### Parameters | Name | Type | Description | | :--- | :--- | :----------------
Utility contract for compressing and decompressing claim data.
Functions
constructor
function constructor(
address __bridgeAddress,
uint32 __networkID
) publicParameters
| Name | Type | Description |
|---|---|---|
__bridgeAddress | address | PolygonZkEVMBridge contract address. |
__networkID | uint32 | Network ID. |
compressClaimCall
Forwards all claim parameters in order to compress them inside the contract.
function compressClaimCall(
bytes32 mainnetExitRoot,
bytes32 rollupExitRoot,
struct ClaimCompressor.CompressClaimCallData[] compressClaimCalldata
) external returns (bytes)Parameters
| Name | Type | Description |
|---|---|---|
mainnetExitRoot | bytes32 | Mainnet exit root. |
rollupExitRoot | bytes32 | Rollup exit root. |
compressClaimCalldata | struct ClaimCompressor.CompressClaimCallData[] | compress claim calldata. |
sendCompressedClaims
function sendCompressedClaims(
) externalEdit on GitHub
Last updated on
PolygonZkEVMGlobalExitRootBaseStorage.sol
Abstract contract required to preserve the storage slots from previous versions. Inherits from ## Functions None. ## Variables ### Rollup root, contains all exi
Addresses
## Mainnet contracts | Contract name | Address | | ---------------------------- | ------------------------------------------------------------------------------