Server

1. System

The server monitors the DAO contract events and saves event data in the database. With this it creates an aggregate event log and distributes seigniorage to based on the amount of tokens staked. It also includes the API server that manages DAO data providing functions to enable usage of the DAO web and APP interfaces.

The DAO system is structured as follows:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c1387af5-7e73-447d-af65-146113ccfec5/server.png

2. Event Monitor

The server saves a log of contract events, and uses these for analysis and operations. The events monitored are as follows, and they are stored in the database.

  1. DAOCommittee Contract

    ( 1 ) Committee Events

    ( 2 ) Agenda Event

  2. DAOAgendaManager Contract

  3. DepositManager Contract

  4. SeigManager Contract

  5. WTON Contract

3. Fetch Agent

When a staking event occurs in order to determine the amount of tokens staked by user of the Tokamak Network Staking Service, a users total staking amount is queried and recorded. This record provides information on the total number of tokens staked as well as the ranking of stakers.