Functions
addPauseRule
Add the pause rule to the account. Restricted to the ownerName | Type | Description |
---|---|---|
_pauseStart | uint64 | pause window start timestamp |
_pauseStop | uint64 | pause window stop timestamp |
removePauseRule
Remove the pause rule from the account. Restricted to the ownerName | Type | Description |
---|---|---|
_pauseStart | uint64 | pause window start timestamp |
_pauseStop | uint64 | pause window stop timestamp |
cleanOutdatedRules
Cleans up outdated pause rules by removing them from the mappinggetPauseRules
Get the pauseRules data for a given tokenName.Name | Type | Description |
---|---|---|
<none> | PauseRule[] | pauseRules all the pause rules for the token |
isPauseRulesEmpty
return true if pause rules is empty and return false if array contains rules Return a bool for if the PauseRule array is emptyName | Type | Description |
---|---|---|
<none> | bool | true if empty |