Contract
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/Canary | 0xf8d6e0586b0a20c7 |
Testnet | 0x9eca2b38b18b5dfe |
Mainnet | 0x8624b52f9ddcd04a |
Transactions
Getting Epoch Info
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 |
Quorum Certificate Transactions and Scripts
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 |
DKG Transactions and Scripts
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 |