-
Notifications
You must be signed in to change notification settings - Fork 4
mods for [email protected] #2
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
Conversation
@@ -15,7 +15,7 @@ export class Auction4Reputation extends DaoSchemeDashboard { | |||
protected wrapper: Auction4ReputationWrapper; | |||
auctionsStartTime: Date; | |||
auctionsEndTime: Date; | |||
token: StandardTokenWrapper; | |||
token: Erc20Wrapper; | |||
auctionId: number = -1; |
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.
why -1 ?
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.
that is obsolete. I removed the line
"lockingPeriodStartDate": "2019-02-18T00:00:00.000", | ||
"lockingPeriodEndDate": "2019-03-21T00:00:00.000", | ||
"governanceStartDate": "2019-04-04T00:00:00.000", | ||
"lockingPeriodStartDate": "2019-02-18T12:00:00.000", |
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.
Does this times are for the dapp or landing page ?
If for dapp , why not read it from the contracts ?
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 the default when not specified in the other setting sections below it.
The contract dashboards do not use these hard-coded settings at all (except for one special case in the externalLocking dashboard where it has to know the global starting date). The hard-coded settings are for everything except the contract dashboards.
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.
Undertaking the suggestion of pulling the start/end dates from one of the contracts, we would have to choose one contract from which to obtain the dates. There would be no gaurantee it will have the right dates nor be consistent with the other contracts.
The following is what in the UI would be affected:
- the locking period end date that is shown in text on the dashboard page
- when the "reputation you have earned" section becomes visible
- when the "Register" button becomes visible in the MGN dashboard
(Not much.)
A wrong date will be immediately and easily spotted, and I so far see no advantage in testing.
I am not convinced this is worth spending any more time on.
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.
approved . though still need to address #1
mods for [email protected]
The default Kovan and Rinkeby DAOs and their global period datetimes match the model spec.