{Introduction}

The microchain protocol contract defines the consensus protocol for the upper level. There are various microchain consensus protocols:

1. Processing consensus protocols (similar to CPU), such as POS, POW and PBFT, etc.

2. File storage consensus protocols (similar to hardware), such as POF (IPFS), and FileCoin, etc.

3. Functional consensus protocols, such as nonce and timestamp, etc.

4. Customized consensus protocols, such as voting, IOT, and sensor network, etc.

After the microchain protocol contract is deployed, SCS with corresponding modules will be required to register and pay the bond. After the waiting period (usually 50 blocks), it will be a candidate SCS node for the microchain.

The microchain protocol contract must work in collaboration with the corresponding SCS module. MOAC guarantees the actualization of a POS, including SubchainProtocolBase.sol and the corresponding SCS module.

{Function modules}

1. SCSList: the node used to save all registrations and pay the bond

2. bondMin: the minimum bond required for participating in this protocol

3. register: SCS with the corresponding module calls the register and pays the bond

4. withdraw: The SCS can choose to withdraw and the bond will the returned after a predetermined period of time

5. getSelectionTarget: acquire the selection standard according to the quantity of SCS required on the microchain, i.e. randomly acquire the quantity of required SCS nodes from the total

6. approveBond: approve the SCS microchain to confiscate the bond when the SCS behaves unfavorably

7. forfeitBond: the microchain confiscates the SCS bond

Where to Find Us

Website: https://moac.io/

GitHub: https://github.com/MOACChain/moac-core

Twitter: https://twitter.com/moac_io

Reddit: https://www.reddit.com/r/MOAC/

Medium: https://medium.com/moac

Steemit: https://steemit.com/@moac-official

Telegram(International): https://t.me/moacblockchain

Telegram(Developers): https://t.co/8m3m9RD5ix

Telegram(China): https://t.co/73rU9sHWLH

YouTube (Event Channel):https://www.youtube.com/channel/UCBU405W7vfOPBicLwW9-QOA

Youtube (Technical Channel) :

https://www.youtube.com/channel/UC_U54wsGNrm_Yivj5bH9i7Q?view_as=subscriber

Facebook: https://www.facebook.com/moacchain/