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

PublicTakeOver should calculated with RTHB >= contract.RBTC * current #1

Open
totiz opened this issue Nov 29, 2018 · 0 comments
Open

Comments

@totiz
Copy link

totiz commented Nov 29, 2018

Because we need to stabilized RTHB to always equal 1 THB, so when call publicTakeOver, the caller should send RTHB in current rate, calculated by RTHB >= contract.RBTC * current.

https://github.com/kulapio/RTHB-ThaiBahtCoin/blob/4b803441cbf836f40280fe7bed805cafadb8927f/smart-contracts/contracts/BahtCoin.sol#L158

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