title | sidebar_label |
---|---|
Flow Epoch Contracts Reference |
Epoch Contracts |
The FlowEpoch
contract is the state machine that manages Epoch phases and emits service events.
The FlowClusterQC
and FlowDKG
contracts manage the processes that happen during the Epoch Setup phase.
These contracts are all deployed to the same account as the FlowIDTableStaking
contract.
Sources:
Network | Contract Address |
---|---|
Emulator | 0xf8d6e0586b0a20c7 |
PreviewNet | 0xb6763b4399a888c8 |
Testnet/Crescendo | 0x9eca2b38b18b5dfe |
Mainnet | 0x8624b52f9ddcd04a |
These scripts are read-only and get info about the current state of the epoch contract.
ID | Name | Source |
---|---|---|
EP.01 |
Get Epoch Metadata | epoch/get_epoch_metadata.cdc |
EP.02 |
Get Configurable Metadata | epoch/get_config_metadata.cdc |
EP.03 |
Get Epoch Counter | epoch/get_epoch_counter.cdc |
EP.04 |
Get Epoch Phase | epoch/get_epoch_phase.cdc |
ID | Name | Source |
---|---|---|
QC.01 |
Create QC Voter | quorumCertificate/get_epoch_metadata.cdc |
QC.02 |
Submit QC Vote | quorumCertificate/get_config_metadata.cdc |
QC.03 |
Get Collector Cluster | quorumCertificate/scripts/get_cluster.cdc |
QC.04 |
Get QC Enabled | quorumCertificate/scripts/get_qc_enabled.cdc |
QC.05 |
Get Node Has Voted | quorumCertificate/scripts/get_node_has_voted.cdc |
QC.06 |
Get QC Voting Complete | quorumCertificate/scripts/get_voting_completed.cdc |
ID | Name | Source |
---|---|---|
DKG.01 |
Create DKG Participant | dkg/create_participant.cdc |
DKG.02 |
Get Configurable Metadata | dkg/send_whiteboard_message.cdc |
DKG.03 |
Send Final Submission | dkg/send_final_submission.cdc |
DKG.04 |
Get DKG Enabled | dkg/scripts/get_dkg_enabled.cdc |
DKG.05 |
Get DKG Completed | dkg/scripts/get_dkg_completed.cdc |
DKG.06 |
Get Whiteboard Messages | dkg/scripts/get_whiteboard_messages.cdc |
DKG.07 |
Get Final Submissions | dkg/scripts/get_final_submissions.cdc |
DKG.08 |
Get Node Has Submitted | dkg/scripts/get_node_has_submitted.cdc |