You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, not sure this is an issue so thought I'd start a discussion instead.
I was reviewing contracts/staking/TokenStaking.sol and noticed that the function setPanicButton requires applicationStruct.status == ApplicationStatus.APPROVED - why is this?
to me it makes more sense that an application would have to have a panic button role set before it can be approved, that way the application can be paused immediately if there are issues when it goes live. Have I missed something?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, not sure this is an issue so thought I'd start a discussion instead.
I was reviewing
contracts/staking/TokenStaking.sol
and noticed that the functionsetPanicButton
requiresapplicationStruct.status == ApplicationStatus.APPROVED
- why is this?to me it makes more sense that an application would have to have a panic button role set before it can be approved, that way the application can be paused immediately if there are issues when it goes live. Have I missed something?
Beta Was this translation helpful? Give feedback.
All reactions