-
Notifications
You must be signed in to change notification settings - Fork 1
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
Make face_value_currency
required & Manage token contract versions
#561
Conversation
face_value_currency
required
face_value_currency
requiredface_value_currency
required & Manage token contract versions
class IbetStraightBondContractVersion(StrEnum): | ||
V_22_12 = "22_12" | ||
V_23_12 = "23_12" | ||
|
||
|
||
class IbetShareContractVersion(StrEnum): | ||
V_22_12 = "22_12" |
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.
It defines the possible versions of each token.
# Set default value | ||
op.get_bind().execute(update(Token).values(version=TokenVersion.V_22_12)) |
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.
All existing data is set to v22.12.
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.
LGTM
Related to: #552
Close: #562
version
item as a token attribute.