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

REX: buying REX immediately moves to REX savings #135

Open
Tracked by #80 ...
DenisCarriere opened this issue May 2, 2024 · 1 comment
Open
Tracked by #80 ...

REX: buying REX immediately moves to REX savings #135

DenisCarriere opened this issue May 2, 2024 · 1 comment

Comments

@DenisCarriere
Copy link
Contributor

Purpose

When buying REX, immediately send received REX to savings (locked until user request to unstake).

buyrex automatically sends rex_received to mvtosavings.

Feedback provided by

Code example

mvtosavings( from, rex_received );

Preconditions

  • mvtosavings whenever buyrex is called by user

References

Note: changes should be pushed to Antelope Reference contracts https://github.com/AntelopeIO/reference-contracts

@DenisCarriere
Copy link
Contributor Author

DenisCarriere commented May 3, 2024

Implemented via AntelopeIO/reference-contracts@6d791ad

Additional unit tests is required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

3 participants