computablelabs / computablelabs/goest

DataMarketFactory Contract

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
To the Future!
Dominant language
Go
Stars
8
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The `DataMarketFactory.sol` contract will be responsible for creaking new data markets and will store a list of available data markets.

- `DataMarketFactory.create_data_market()`: Constructs and launches a new data market. This is the only public way to create a new data market. There are a number of arguments needed in this constructor.
- Each data market has an associated token with it. `create_data_market()` should pass in necessary information to initialize this token. It might make sense to pass in a list of `[address_1: allocation_1,...,address_n:allocation_n]` of initial token allocations to `create_data_market()`. The Market token would be initialized with this initial spread of market token.
- `T_council`: Council membership threshold fraction #28
- `T_util`: Number of tokens minted when a listing is queried #31
- `T_submit`: Number of tokens minted when a new listing is listed #31
- `DataMarketFactory.get_list_of_data_markets()`: Returns a list of available data markets.

Edit: Added additional information about token initialization and council membership above.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.