PolygonDataComittee.sol
## Functions ### ##### Parameters | Name | Type | Description | | :--- | :--- | :------------------------------------------------------------------- | | | contr
Functions
constructor
function constructor(
contract IPolygonZkEVMGlobalExitRoot _globalExitRootManager,
contract IERC20Upgradeable _pol,
contract IPolygonZkEVMBridge _bridgeAddress,
contract PolygonRollupManager _rollupManager
) publicParameters
| Name | Type | Description |
|---|---|---|
_globalExitRootManager | contract IPolygonZkEVMGlobalExitRoot | Global exit root manager address |
_pol | contract IERC20Upgradeable | POL token address |
_bridgeAddress | contract IPolygonZkEVMBridge | Bridge address |
_rollupManager | contract PolygonRollupManager | Global exit root manager address |
sequenceBatches
function sequenceBatches(
) publicsequenceBatchesDataCommittee
Allows a sequencer to send multiple batches.
function sequenceBatchesDataCommittee(
struct PolygonDataComittee.ValidiumBatchData[] batches,
address l2Coinbase,
bytes dataAvailabilityMessage
) externalParameters
| Name | Type | Description |
|---|---|---|
batches | struct PolygonDataComittee.ValidiumBatchData[] | Struct array which holds the necessary data to append new batches to a sequence |
l2Coinbase | address | Address that will receive the fees from L2 |
dataAvailabilityMessage | bytes | Byte array containing signatures and all addresses of the committee members in the ascending order |
| [signature 0, ..., signature requiredAmountOfSignatures -1, address 0, ... address N] | ||
| note that each ECDSA signatures are used, therefore each one must be 65 bytes |
switchSequenceWithDataAvailability
Allows the admin to activate force batches.
This action is not reversible.
function switchSequenceWithDataAvailability(
) externalEvents
SwitchSequenceWithDataAvailability
event SwitchSequenceWithDataAvailability(
)Emitted when switching the sequencing functionality.
Edit on GitHub
Last updated on
CDKDataCommittee.sol
## Functions ### ### Allows the admin to setup members of the committee. - The system requires N/M signatures where N => and M => . - The number of urls must be
PolygonDataCommittee.sol
## Functions ### Disables initializers on the implementation, following best practices. ### ### Allows the admin to setup the members of the committee. - The sy