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

refactor vaults and cdp_treasury module, remove debits module #46

Merged
merged 6 commits into from
Dec 28, 2019

Conversation

wangjj9219
Copy link
Member

直接拿掉了debits模块, Trait CDPTreasury增加了两个接口供vaults模块向指定账户增发或销毁aUSD, DebitBalance和DebitAmount都放到了vaults::Trait中定义。 现在系统债务由treasury维护, cdp债务由vaults维护, 总债务是aUSD的发行量。感觉treasury的接口定义和命名可以再调整, 等加上盈余拍卖

@xlc xlc mentioned this pull request Dec 23, 2019
@wangjj9219
Copy link
Member Author

#47

modules/auction_manager/src/lib.rs Outdated Show resolved Hide resolved
modules/auction_manager/src/lib.rs Show resolved Hide resolved
modules/auction_manager/src/lib.rs Outdated Show resolved Hide resolved
@wangjj9219 wangjj9219 marked this pull request as ready for review December 28, 2019 02:27
@wangjj9219 wangjj9219 merged commit 1c1533a into master Dec 28, 2019
@wangjj9219 wangjj9219 deleted the fix/refactor-debit-2 branch December 28, 2019 03:00
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

Successfully merging this pull request may close these issues.

None yet

2 participants