-
Notifications
You must be signed in to change notification settings - Fork 15
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
[core] New sales design #210
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
59bb8e1
to
17518a5
Compare
/// useful for system-level discounts, or user-specific discounts. | ||
/// | ||
/// TODO: Consider re-using `RequestData` inside the `Receipt`. | ||
/// TODO: Add settings for max year of renewals / max duration of registration here? |
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.
this is implemented on #218
|
||
use sui::vec_map::{Self, VecMap}; | ||
|
||
// Tries to create a range with more than 2 values |
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.
/// instead of //
RenewalConfig { config } | ||
} | ||
|
||
public fun new_range(range: vector<u64>): Range { |
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.
we could have a from:u64, to:u64
instead
'