Smart Contracts
Last updated
Last updated
The Controller serves as the central component of the Zether Network, acting as the core of Zether. It oversees the verification and processing of data, orchestrating the execution of tasks such as cross-chain messaging and the dissemination of price feeds.
The diagram outlines a process with four primary steps involving the Controller:
Transmitter Agents deliver a dataset to the Controller.
The Controller verifies: a. That Transmitters were "employed" by Distributors b. Whether the Target Consensus Rate has been met
If successful, the data is considered verified. The Controller signals the Conductor Agent to complete the cross-chain operation.
The Conductor Agent forwards the data to the designated Circuit.
Circuits serve as communication hubs connecting blockchains, enabling cross-chain messaging through collaboration with Agents. They are tasked with collecting and aggregating messages, allowing smart contracts to effortlessly transmit and receive various types of messages, including token transfers and price data.
The diagram displays a process with five main steps involving Circuits: 1) A smart contract calls a Circuit to send a cross-chain message. 2) The Circuit signals Transmitter Agents to send this message to the Controller. 3) Transmitters send message to the Controller 4) The Controller verifies consensus of Transmitter Agents. 5) If successful, the Conductor notifies Conductor 6) The Conductor Agent sends the verified message to the Circuit on the destination Blockchain. 7) The Circuit verifies that data is untampered. If successful, it transmit the message to the designated smart contract.