Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design issues #1

Open
qige96 opened this issue Jan 29, 2020 · 0 comments
Open

Design issues #1

qige96 opened this issue Jan 29, 2020 · 0 comments

Comments

@qige96
Copy link
Owner

qige96 commented Jan 29, 2020

  1. 第一阶段(初始分配)可以实现,但目前方案不甚经济,可以考虑删掉。
  2. 目前每人的资源额度没有上限,考虑限制没人只能拥有n个资源(e.g. 每人最多只能选6门课)。
  3. 考虑加入交易机制,比如悬赏交换。
// 向所有参与者广播,请求用res_reward 交换 res_wanted
function want(res_wanted, res_reward) public returns (uint trade_id);
// 同意进行trade_id的交易(愿意用自己的资源交换)
function deal(trade_id) public returns (bool success);
// 撤回交易
function withdrawTrade(trade_id) public return (bool success);
  1. 考虑加入代币机制,作为资源的id(如果唯一)或者交易通货。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant