0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Epoch Contracts

Last updated at Posted at 2024-12-26

Previous << Staking Table
Next >> Non-Fungible Token

Contract

FlowEpochコントラクトは、エポックフェーズを管理し、サービスイベントを発行するステートマシンです。FlowClusterQCコントラクトとFlowDKGコントラクトは、Epoch Setupフェーズ中に発生するプロセスを管理します。

これらのスマートコントラクトはすべて、FlowIDTableStakingコントラクトと同じアカウントにデプロイされます。

Source:

Network Contract Address
Emulator 0xf8d6e0586b0a20c7
Cadence Testing Framework 0x0000000000000001
Testnet 0x9eca2b38b18b5dfe
Mainnet 0x8624b52f9ddcd04a

Transactions

Getting Epoch Info

これらのスクリプトは読み取り専用であり、エポックコントラクトの現在の状態(state)に関する情報を取得します。

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/create_voter.cdc
QC.02 Submit QC Vote quorumCertificate/submit_vote.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

Events

FlowEpochの重要なイベントの一覧と説明については、エポックのドキュメントを参照してください。

Last updated on Dec 17, 2024 by j pimmel

翻訳元


Previous << Staking Table

Flow BlockchainのCadence version1.0ドキュメント (Epoch Contracts)

Next >> Non-Fungible Token

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?