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

Improve self-custody #11

Open
gabririgo opened this issue Jan 11, 2021 · 0 comments
Open

Improve self-custody #11

gabririgo opened this issue Jan 11, 2021 · 0 comments

Comments

@gabririgo
Copy link
Contributor

gabririgo commented Jan 11, 2021

Summary

The current RBIP improves existing self custody adapter by removing the free tier and adding a flat 1000 GRG pool holding requirement for transferring tokens to self custody and by allowing transferring any ERC20 tokens.

Motivation

Self custody is a feature aimed at facilitating the life of professional market makers, it is therefore unnecessary for traditional traders. Furthermore, it was first introduced as DEXes did not have enough tokens and volume when compared to CEXes. Uniswap, however, offers the ability to swapping almost any token and has volume approaching 1BN$ per day, with ability of becoming AMM LP. Regarding transferring any tokens, must implement safeTransfer to allow safe transfer of any token.

Specification

  • update existing adapter.
  • implement safeTransfer (guarantees data.length of transfer is always 2*32 + 4 bytes).
  • simplified thresholds.

Thresholds

Transfer Amount (ETH) GRG required
[ 0 : 9.8696 [ 98
[ 9.8696 : 31 [ 307
[ 31 : +++ ] 962
Transfer Amount (ERC20) GRG required
any 1000
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