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

When contract receives ETH from someone else than contract owner, it should transfer equivalent amount of tokens to the sender of funds. #3

Open
mtl1979 opened this issue Nov 26, 2020 · 0 comments
Labels
enhancement New feature or request todo Unfinished features

Comments

@mtl1979
Copy link
Member

mtl1979 commented Nov 26, 2020

This requires adding constructor parameter and function to set the conversion rate (limit to owner only), initially it should be about 200000000000 wei = 1 wTLO (100 atomic units), or rate 2000000000:1 measured in atomic units, capped to absolute maximum of 1 million wTLO per transaction to avoid draining token supply for conversion from TLO to wTLO.

Converting tokens by request back to ETH doesn't seem very good idea as the contract needs some ETH reserve for bridge to work.

@mtl1979 mtl1979 added enhancement New feature or request todo Unfinished features labels Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request todo Unfinished features
Projects
None yet
Development

No branches or pull requests

1 participant