-
Notifications
You must be signed in to change notification settings - Fork 249
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: Migrate to NearToken #1104
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iho I would suggest to actually use NearToken and NearGas as function arguments types instead of u64/u128, and re-export them from near_sdk
(see what is the best place for the type to be imported from the user perspective)
@iho Let’s also replace the Balance type alias with NearToken
near-sdk-rs/near-sdk/src/types/mod.rs Line 48 in ee5cf86
|
This reverts commit 66c4dea.
Co-authored-by: Vlad Frolov <frolvlad@gmail.com>
Please, apply the suggestions throughout the code, I only commented on a few places and didn’t go through every similar case in the code |
d190a55
to
d58086d
Compare
Closes #1103